tmux: Split settings and keybinds
This commit is contained in:
@@ -7,12 +7,6 @@ set-option -g set-titles on
|
|||||||
set-option -g set-titles-string '#S'
|
set-option -g set-titles-string '#S'
|
||||||
set-option -g automatic-rename
|
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 escape-time 0
|
||||||
set-option -g aggressive-resize on
|
set-option -g aggressive-resize on
|
||||||
|
|
||||||
@@ -22,14 +16,6 @@ set-option -g mode-keys vi
|
|||||||
|
|
||||||
set-option -g renumber-windows on
|
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 bell-action any
|
||||||
|
|
||||||
set-option -g history-limit 50000
|
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"
|
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
|
# vertical = | in this case
|
||||||
unbind %
|
unbind %
|
||||||
unbind '"'
|
unbind '"'
|
||||||
|
|||||||
Reference in New Issue
Block a user