Added comments and vim binds for pane navigation.

This commit is contained in:
Sheldon Lee 2020-12-03 17:54:50 +08:00
parent 088a21ea04
commit 7ee4b38a10

View File

@ -1,6 +1,16 @@
# terminal
set -g default-terminal "alacritty" set -g default-terminal "alacritty"
# vi mode
set-window-option -g mode-keys vi 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 C-a send-prefix
# vim binds for pane navigation
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R