Update tmux styling

This commit is contained in:
Sonny Bakker 2025-03-30 22:27:40 +02:00
parent 2a9e245e2b
commit 165dd1d139

View file

@ -1,11 +1,5 @@
# use vim copy/paste keybindings
setw -g mode-keys vi
set -ga terminal-overrides ",wezterm:Tc"
set -g default-shell /bin/bash
# see https://github.com/neovim/neovim/issues/2035
set -sg escape-time 10 # in milliseconds
set-option -g mode-keys vi
# vim style pane switching
bind h select-pane -L
@ -13,24 +7,32 @@ bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# status bar design
set -g status-position top
set -g status-left-length 60
set -g status-style fg=#000000,bg=#eff0f1
set -g status-right ' #[fg=#fffffff,bg=#3daee9] #(hostname) #[fg=#ffffff,bg=#3daee9] %d/%m #[fg=#ffffff,bg=#3daee9] %H:%M:%S '
set-option -ga terminal-overrides ",wezterm:Tc"
set-option -g default-shell /bin/bash
# current session name
set-window-option -g status-left '#[fg=#ffffff,bg=#3daee9] #S '
# current window
set -g window-status-current-style fg=#ffffff,bg=#3daee9
set -g window-status-current-format ' #I#[fg=#ffffff] #[fg=#fffff]#W '
# background windows
set -g window-status-style fg=#000000,bg=#eff0f1
set -g window-status-format ' #I#[fg=#000000] #[fg=#000000]#W '
# see https://github.com/neovim/neovim/issues/2035
set-option -sg escape-time 10 # in milliseconds
# scrollback history
set -g history-limit 10000
set-option -g history-limit 10000
set -g mouse on
# status bar design
set-option -g status-position top
# TODO: move these to a theme file
set-option -g status-style fg=#000000,bg=#eff0f1
set-option -g status-left ''
set-option -g status-right ' [#{session_name}] #{host_short} '
# current status
set-option -g window-status-current-style bg=#dddfe1
set-option -g window-status-current-format ' #{window_index} #{window_name} '
# background status
set-option -g window-status-style bg=#eff0f1
set-option -g window-status-format ' #{window_index} #{window_name} '
# window styling
# set-option -g window-style 'fg=colour247,bg=colour236'
# set-option -g window-active-style 'fg=default,bg=colour234'