17 lines
466 B
Text
17 lines
466 B
Text
# remap prefix to Control + a
|
|
set -g prefix C-a
|
|
unbind-key C-b
|
|
bind-key C-a send-prefix
|
|
|
|
# smart pane switching with awareness of vim splits
|
|
#
|
|
# See: https://robots.thoughtbot.com/seamlessly-navigate-vim-and-tmux-splits
|
|
bind C-h select-pane -L
|
|
bind C-j select-pane -D
|
|
bind C-k select-pane -U
|
|
bind C-l select-pane -R
|
|
bind C-\ select-pane -l
|
|
|
|
# easily toggle synchronization (mnemonic: e is for echo)
|
|
bind e setw synchronize-panes on
|
|
bind E setw synchronize-panes off
|