From 25d7c10240e86c2265856377668848e545a07d2f Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 24 Jul 2019 14:54:24 +0100 Subject: [PATCH] Fix pane navigation left in copy mode --- tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/tmux.conf b/tmux.conf index 8c19777..6608f19 100644 --- a/tmux.conf +++ b/tmux.conf @@ -58,6 +58,7 @@ bind "%" split-window -h -c "#{pane_current_path}" # Integrate pane selection with vim 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-j 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-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"