2023-08-26 20:21:53 +02:00

29 lines
527 B
Plaintext

# global options
set -g terminal-overrides ",*:RGB"
set -g escape-time 0
set -g focus-events on
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
# theme
source-file ~/.config/tmux/theme.conf