Fix pane navigation left in copy mode
This commit is contained in:
parent
943412c159
commit
25d7c10240
@ -58,6 +58,7 @@ bind "%" split-window -h -c "#{pane_current_path}"
|
|||||||
# Integrate pane selection with vim
|
# Integrate pane selection with vim
|
||||||
is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$"'
|
is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$"'
|
||||||
unbind -T copy-mode-vi C-h
|
unbind -T copy-mode-vi C-h
|
||||||
|
unbind -T copy-mode-vi C-j
|
||||||
bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
||||||
bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||||
bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user