Open tieubao opened 8 years ago
Does it affect all mapping, or only some of them?
@blueyed right now, only for navigation mappings
@tieubao
So for all mappings from tmux-navigator? (I was referring to if e.g. only C-h
would not work)
@blueyed all C-l, C-h, C-j, C-k
Please try if https://github.com/christoomey/vim-tmux-navigator/pull/117 helps.
Also check that you've setup tmux correctly (which is different in #117): tmux list-keys | grep -i vim
.
@blueyed I added those lines in .tmux.conf
bind -n C-h run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
bind -n C-j run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D"
bind -n C-k run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U"
bind -n C-l run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R"
Yeah, you would need to debug it from there, e.g. by adding some display-message
there etc.
But I suggest trying this based on #117.
been experiencing the same recently
I'm running Vim on Bash On Windows (WSL) and I'm having the same issue there too.
I got the exact same problem as @tieubao oO
Same issue over here (Debian Stretch).
I'm running Vim on Bash On Windows (WSL) and I'm having the same issue there too.
I'm now running wsl-terminal (based on mintty) and have no issues anymore :-)
I am experiencing this now.
latest iterm2, neovim installed from homebrew.
.tmux.conf:
~ cat ~/.tmux.conf
set-environment -g PATH "/usr/local/bin:/usr/bin"
# bind leader/prefix to C-a instead of C-b
unbind C-b
set -g prefix C-a
bind C-a send-prefix
^A r shows
~/.tmux/plugins/tpm/tpm returned 127
I already install vim-tmux-navigator plugin, but I can't use the hotkey to navigate around. Using
:TmuxNavigateLeft
... is good.Everything is ok outside of tmux.
My env:
echo $TERM
---> xterm-256colorecho $TERM
---> screen-256color