Open javijjavi opened 3 years ago
A few questions to help debug:
tmux list-keys -T root | grep 'C-h'
? :verbose nmap <C-h>
?Hi Chris,
First of all, thank you for your help.
tmux list-keys -T root | grep 'C-h'
Result:
bind-key -T root C-h if-shell "ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'" "send-keys C-h" "select-pane -L"
:verbose nmap <C-h>
Result:
<C-H> * :TmuxNavigateLeft<CR>
Last set from ~/.vim/plugged/vim-tmux-navigator/plugin/tmux_navigator.vim line 19
Exactly if I execute Prefix + h
in tmux I can change between panels, but when I'm use that in vim-tmux-navigator inside a tmux session that doesn't it seen like C-h works as backward. The rest of the commands works properly.
If I execute bindkey "^H"
I get:
"^H" backward-delete-char
I dont know if this can help.
Thank you very much for your help, I'm triying a lot of different things but I dont know what it can be, because out of a tmux session all works fine.
Unfortunately, nothing in your response stands out as odd, so I'm not sure where to go. Just to confirm, did you read back through any of the other related issues (searching for C-h in the issues)? I know this has been a sticking point, and there may be some tips in there. Specifically, I've seen things around neovim vs vim, the TERM
setting, etc. Sorry I can't provide much more here.
Thank you, Christ,
Yes, I have been watching the other issues and trying all things, like the TERM
. But nothing works.
I'm going to continue trying, if I find the solution I will put it in this issue.
Thanks for your help Christ and for the amazing project 👍
solution found at tmux/tmux#1838
Hi everyone,
First of all, thank you for helping me. The issue is when I'm using vim tmux navigator with a session in tmux, I can use all the commands of vim tmux navigator, except the command Crtl + h.
Vim version 8.2.1913
Tmux version 3.1b
ZSH 5.8
TmuxNavigatorProccessList-
.tmux.conf.local- [...]
vimrc-
When I'm using vim-tmux-tavigator without tmux all work properly, but when I used in a tmux session the C-h doesn't work. I think it's a mistake in the tmux configuration but I can't find it.
Thank you very much!