22 lines
411 B
Plaintext
22 lines
411 B
Plaintext
|
# Change prefix
|
||
|
set -g prefix C-a
|
||
|
unbind C-b
|
||
|
bind C-a send-prefix
|
||
|
|
||
|
# Split panes using | and -
|
||
|
bind | split-window -h
|
||
|
bind - split-window -v
|
||
|
|
||
|
# Sync with Zellij
|
||
|
bind -n M-n split-window -h
|
||
|
bind -n M-m split-window -v
|
||
|
|
||
|
# Switch panes using Alt
|
||
|
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
|
||
|
|
||
|
# Color
|
||
|
set -g default-terminal "tmux-256color"
|