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"