diff --git a/tmux/tmux.conf b/tmux/tmux.conf index e99b4bc..980567f 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,24 +1,24 @@ -set -g default-command "${SHELL}" +set-option -g default-command "${SHELL}" # This *has* to be set to something with `screen-`, do not set this bindly # to $TERM, e.g. "alacritty"! -set -g default-terminal "screen-256color" +set-option -g default-terminal "screen-256color" -set -g set-titles on -set -g set-titles-string '#S' +set-option -g set-titles on +set-option -g set-titles-string '#S' setw -g automatic-rename -set -g prefix C-a +set-option -g prefix C-a unbind C-b bind C-a send-prefix unbind C-j -set -s escape-time 0 +set-option -s escape-time 0 set-window-option -g aggressive-resize on -set -g mouse on +set-option -g mouse on -set -g mode-keys vi +set-option -g mode-keys vi set-option -g renumber-windows on @@ -30,18 +30,18 @@ bind j select-pane -D bind k select-pane -U bind l select-pane -R -set -g bell-action any +set-option -g bell-action any -set -g history-limit 50000 +set-option -g history-limit 50000 -set -g base-index 1 +set-option -g base-index 1 set-window-option -g pane-base-index 1 -set -g status-position bottom -set -g status-justify left +set-option -g status-position bottom +set-option -g status-justify left # https://wiki.archlinux.org/title/tmux#256_colors -set -ga terminal-overrides ",alacritty:Tc" +set-option -ga terminal-overrides ",alacritty:Tc" setw -g pane-border-status bottom setw -g pane-border-format '' @@ -66,11 +66,11 @@ set-window-option -g automatic-rename-format '#{pane_current_command}' set-window-option -g window-status-separator ' ' -set -g status-left " #[bg=#6c99bb,fg=#2e2e2e] #{session_name} #[bg=default] " -set -g status-right "#[bg=#CCCCCC,fg=#555555] #{host} #[bg=default] " -set -g status-left-length 100 +set-option -g status-left " #[bg=#6c99bb,fg=#2e2e2e] #{session_name} #[bg=default] " +set-option -g status-right "#[bg=#CCCCCC,fg=#555555] #{host} #[bg=default] " +set-option -g status-left-length 100 -set -g message-style "bg=#CCCCCC,fg=#555555" +set-option -g message-style "bg=#CCCCCC,fg=#555555" # vertical = | in this case unbind %