formatted tmux conf

This commit is contained in:
Christian Koptein 2024-03-30 15:54:13 +01:00
parent 57021b06f0
commit b23da6edc5

View File

@ -1,7 +1,7 @@
# Re-assigning C-b to C-a # Re-assigning C-b to C-a
set-option -g prefix C-a set-option -g prefix C-a
# Bindings for C-a a # Bindings for C-a a
bind-key a send-prefix bind-key a send-prefix
# Set status bar # Set status bar
@ -9,8 +9,8 @@ set -g status-bg black
set -g status-fg white set -g status-fg white
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]' set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]' set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]'
set -g status-left-length 30 set -g status-left-length 30
set -g status-right-length 60 set -g status-right-length 60
# set correct term # set correct term
set -g default-terminal screen-256color set -g default-terminal screen-256color
@ -18,7 +18,6 @@ set -g default-terminal screen-256color
setw -g monitor-activity on setw -g monitor-activity on
set -g visual-activity on set -g visual-activity on
setw -g aggressive-resize on setw -g aggressive-resize on
# Bindings for vertical + horizontal splits # Bindings for vertical + horizontal splits
@ -45,7 +44,6 @@ bind C-v run "tmux set-buffer \"$(xclip -o -selection clipboard)\"; tmux paste-b
setw -g mode-keys vi setw -g mode-keys vi
# bind ^A space to go to the next window # bind ^A space to go to the next window
bind-key C-a last-window bind-key C-a last-window
bind-key Space next-window bind-key Space next-window