2018-02-25 00:10:56 +01:00
|
|
|
#remap prefix from C-b to alt-a
|
2018-02-22 19:51:35 +01:00
|
|
|
unbind C-b
|
|
|
|
set-option -g prefix M-a
|
|
|
|
bind-key M-a send-prefix
|
|
|
|
|
2018-02-25 00:10:56 +01:00
|
|
|
#split panes using | and -
|
|
|
|
bind | split-window -h
|
2018-02-22 19:51:35 +01:00
|
|
|
bind - split-window -v
|
|
|
|
unbind '"'
|
|
|
|
unbind %
|
|
|
|
|
|
|
|
#switch panes using alt-hjkl
|
|
|
|
bind -n M-h select-pane -L
|
|
|
|
bind -n M-l select-pane -R
|
|
|
|
bind -n M-k select-pane -U
|
|
|
|
bind -n M-j select-pane -D
|
|
|
|
|
|
|
|
#dont rename windows automatically
|
|
|
|
set-option -g allow-rename off
|