Changed bindings.

This commit is contained in:
Sheldon Lee 2020-12-16 21:31:40 +08:00
parent 414085bd20
commit a4ff5d16bb

View File

@ -7,10 +7,13 @@ set-window-option -g mode-keys vi
# remap prefix from 'C-b' to 'C-a' # remap prefix from 'C-b' to 'C-a'
unbind C-b unbind C-b
set-option -g prefix C-a set-option -g prefix C-a
bind-key C-a send-prefix bind-key a send-prefix
# vim binds for pane navigation # vim binds for pane navigation
bind-key h select-pane -L bind-key h select-pane -L
bind-key j select-pane -D bind-key j select-pane -D
bind-key k select-pane -U bind-key k select-pane -U
bind-key l select-pane -R bind-key l select-pane -R
# last window similar to screen
bind-key C-a last-window