adapt to NixOS config

This commit is contained in:
2022-05-12 09:05:34 +02:00
parent c089f9905c
commit f890b29077

View File

@@ -1,16 +1,24 @@
new-session
setw -g aggressive-resize 1
set -g base-index 1 set -g base-index 1
set -g default-terminal 'screen-256color' setw -g pane-base-index 1
setw -g clock-mode-style 24
set -g default-terminal 'xterm-256color'
set -s escape-time 0 set -s escape-time 0
set -g history-limit 10000 set -g history-limit 10000
set -g mouse on set -g mouse on
set -g pane-active-border-style fg=cyan
set -g renumber-windows on set -g renumber-windows on
set -g set-titles on set -g set-titles on
set -g status-interval 10 set -g status-interval 10
set -g status-right "#(whoami)@#(hostname) | #(cut -f1 -d \" \" < /proc/loadavg) | %H:%M " set -g status-right "#(whoami)@#(hostname) | #(cut -f1 -d \" \" < /proc/loadavg) | %H:%M "
set -g pane-active-border-style fg=cyan
set -g status-style fg=black,bg=cyan set -g status-style fg=black,bg=cyan
setw -g mode-keys vi set -ga terminal-overrides ",xterm-256color:Tc"
setw -g pane-base-index 1
set -g mode-keys vi
set -g status-keys vi
unbind C-b unbind C-b
set -g prefix C-x set -g prefix C-x
@@ -26,7 +34,7 @@ bind j select-pane -D
bind k select-pane -U bind k select-pane -U
bind l select-pane -R bind l select-pane -R
bind -r C-h resize-pane -L 5 bind -r H resize-pane -L 5
bind -r C-j resize-pane -D 5 bind -r J resize-pane -D 5
bind -r C-k resize-pane -U 5 bind -r K resize-pane -U 5
bind -r C-l resize-pane -R 5 bind -r L resize-pane -R 5