-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panes no longer switching for <c-j> and <c-k> specifically #223
Comments
We don’t expect to see tmux in the process list since we’re looking at the process tree of the current pane. Tmux wraps around Vim, so everything in the process list looks fine and the tmux bindings should match the “nvim” process name. Couple of questions:
|
@christoomey thank you for taking the time to work with me on this.
is_vim="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(weechat|irc|view|emacs|n?vim?x?)(diff)?$'"
bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
bind-key -T copy-mode-vi C-h select-pane -L
bind-key -T copy-mode-vi C-j select-pane -D
bind-key -T copy-mode-vi C-k select-pane -U
bind-key -T copy-mode-vi C-l select-pane -R
What's interesting is, when i create a new tmux horizontal split and try and press Final notes.. A huge thanks once again, for helping to debug through this. |
Chiming in as I'm also affected by this. |
so, something has changed, not sure yet.. still debugging.
what i do know is, with
:TmuxNavigatorProcessList
, I see the following (notice, notmux
process):i've checked to see what my
<c-j>
and<c-k>
are bound to, and both are bound to the appropriateTmuxNavigatorDown
andTmuxNavigatorUp
commands respectively. I used:map <c-j>
and:map <c-k>
to determine those mappings.Any one else hitting these issues? My
<c-h>
and<c-l>
bindings are working fine though.The text was updated successfully, but these errors were encountered: