From 44302e10ed947e4c8a55005b64b942131ba587f4 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 22 May 2022 15:30:38 -0700 Subject: [PATCH] [tmux] Modernize the tmux conf a bit --- tmux.conf | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/tmux.conf b/tmux.conf index 000705d..b27203d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -20,30 +20,28 @@ set -g set-titles-string "#T" set -g mode-keys vi set -g repeat-time 0 -# No left status; right status bar is session name -set -g status-bg black -set -g status-left "" -set -g status-left-bg black -set -g status-left-fg brightblue -set -g status-left-attr none +# +# STATUS BAR +# -set -g status-right "| #S " -set -g status-right-bg black -set -g status-right-fg brightblue -set -g status-right-attr none +set -g status-style bg=black +set -g status-left " #S " +set -g status-left-style bg=green,fg=black +set -g status-right "#[bg=red,fg=white] #h #[bg=blue,fg=white] %H:%M %Y-%M-%d #[default]" # Start window and pane indexing from 1 instead of 0 set-option -g base-index 1 set-option -g pane-base-index 1 # Tabs like this: "(:)" -setw -g window-status-style "fg=brightgreen,bg=black" -setw -g window-status-format "(#I:#W)" -setw -g window-status-current-style "fg=yellow,bg=black" -setw -g window-status-current-format "(#I:#W)" +setw -g window-status-style "fg=white,bg=black" +setw -g window-status-format " #I #W " +setw -g window-status-current-style "fg=white,bg=blue" +setw -g window-status-current-format " #I #W " +setw -g window-status-separator "" -setw -g window-status-bell-style "fg=red" -setw -g window-status-activity-style "fg=brightred" +setw -g window-status-bell-style "bg=red" +setw -g window-status-activity-style "bg=red" setw -g alternate-screen on @@ -57,7 +55,7 @@ bind-key C-a last-window # TODO: Decide if this should have a -n (allow invoking the command without the leader). bind-key C-k clear-history -bind-key h select-pane -L -bind-key j select-pane -D -bind-key k select-pane -U -bind-key l select-pane -R +bind-key C-h select-pane -L +bind-key C-j select-pane -D +bind-key C-k select-pane -U +bind-key C-l select-pane -R