[tmux] Modernize the tmux conf a bit

This commit is contained in:
Eryn Wells 2022-05-22 15:30:38 -07:00
parent 0226d26f94
commit 44302e10ed

View file

@ -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: "(<index>:<window_name>)"
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