diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 3f260d39..bf1c96c2 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -35,6 +35,12 @@ if-shell -b '[ "$(echo "$tmux_version < 3.0" | bc)" = 1 ]' \ if-shell -b '[ "$(echo "$tmux_version >= 3.0" | bc)" = 1 ]' \ "bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\\\' 'select-pane -l'" +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 +bind-key -T copy-mode-vi 'C-\' select-pane -l + # Use vi keybindings for tmux commandline input. # Note that to get command mode you need to hit ESC twice... set -g status-keys vi