tmux: Do not use arrow keys for pane navigation

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-05 18:51:25 +05:30
parent f34ad2fca9
commit 2368683a64

View file

@ -36,10 +36,10 @@ set -g mouse on
set -g focus-events on set -g focus-events on
# Use Alt-arrow keys without prefix key to switch panes # Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L bind -n M-h select-pane -L
bind -n M-Right select-pane -R bind -n M-l select-pane -R
bind -n M-Up select-pane -U bind -n M-k select-pane -U
bind -n M-Down select-pane -D bind -n M-j select-pane -D
# Pane resizing with HJKL # Pane resizing with HJKL
bind H resize-pane -L 10 bind H resize-pane -L 10