tmux: Split settings and keybinds

This commit is contained in:
2022-07-02 12:30:51 +02:00
parent fd3f5c4bd6
commit f384a8a1b6

View File

@@ -7,12 +7,6 @@ set-option -g set-titles on
set-option -g set-titles-string '#S'
set-option -g automatic-rename
set-option -g prefix C-a
unbind C-b
bind C-a send-prefix
unbind C-j
set-option -g escape-time 0
set-option -g aggressive-resize on
@@ -22,14 +16,6 @@ set-option -g mode-keys vi
set-option -g renumber-windows on
bind-key k confirm kill-window
bind-key K confirm kill-server
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set-option -g bell-action any
set-option -g history-limit 50000
@@ -72,6 +58,21 @@ set-option -g status-left-length 100
set-option -g message-style "bg=#CCCCCC,fg=#555555"
# Use C-a as the prefix
set-option -g prefix C-a
unbind C-b
bind C-a send-prefix
unbind C-j
bind-key k confirm kill-window
bind-key K confirm kill-server
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# vertical = | in this case
unbind %
unbind '"'