feat(tmux): dim inactive panes (window-style / window-active-style)
Inactive panes get fg=colour247,bg=colour234, the active one keeps the terminal default. Only default-coloured cells change, so coloured output and vim's own background are untouched.
This commit is contained in:
@@ -280,6 +280,12 @@ set -g status-right '#{sep_b} #h #{sep_e}#{sep_on} : #{continuum_status} '
|
||||
set -g pane-active-border-style fg=white,bg=white
|
||||
set -g pane-border-style fg=white,bg=default
|
||||
|
||||
# Dim inactive panes: only cells in "default" colour change (coloured text and
|
||||
# vim's own background stay as they are); the active pane keeps the terminal
|
||||
# background. Needs tmux >= 2.1.
|
||||
set -g window-style fg=colour247,bg=colour234
|
||||
set -g window-active-style fg=default,bg=default
|
||||
|
||||
# set Message text
|
||||
set-option -g message-style bg=default,fg=red
|
||||
set-option -g message-command-style bg=default,fg=brightwhite
|
||||
|
||||
Reference in New Issue
Block a user