Update tmux styling
This commit is contained in:
parent
2a9e245e2b
commit
165dd1d139
1 changed files with 26 additions and 24 deletions
50
.tmux.conf
50
.tmux.conf
|
|
@ -1,11 +1,5 @@
|
||||||
# use vim copy/paste keybindings
|
# use vim copy/paste keybindings
|
||||||
setw -g mode-keys vi
|
set-option -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
|
|
||||||
|
|
||||||
# vim style pane switching
|
# vim style pane switching
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
|
|
@ -13,24 +7,32 @@ bind j select-pane -D
|
||||||
bind k select-pane -U
|
bind k select-pane -U
|
||||||
bind l select-pane -R
|
bind l select-pane -R
|
||||||
|
|
||||||
# status bar design
|
set-option -ga terminal-overrides ",wezterm:Tc"
|
||||||
set -g status-position top
|
set-option -g default-shell /bin/bash
|
||||||
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 '
|
|
||||||
|
|
||||||
# current session name
|
# see https://github.com/neovim/neovim/issues/2035
|
||||||
set-window-option -g status-left '#[fg=#ffffff,bg=#3daee9] #S '
|
set-option -sg escape-time 10 # in milliseconds
|
||||||
|
|
||||||
# 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 '
|
|
||||||
|
|
||||||
# scrollback history
|
# 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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue