24 lines
437 B
Plaintext
24 lines
437 B
Plaintext
# global options
|
|
set -sg terminal-overrides ",*:RGB"
|
|
set -g mouse on
|
|
set -g prefix C-a
|
|
|
|
# unbind all
|
|
unbind-key -a
|
|
|
|
# prefix using Ctrl-a
|
|
bind C-a send-prefix
|
|
|
|
# detach tmux using q
|
|
bind q detach
|
|
|
|
# split panes using s and d
|
|
bind d split-window -h
|
|
bind s split-window -v
|
|
|
|
# switch panes using Alt-arrow without prefix
|
|
bind -n M-Left select-pane -L
|
|
bind -n M-Right select-pane -R
|
|
bind -n M-Up select-pane -U
|
|
bind -n M-Down select-pane -D
|