tmux: Also display indicator for synchronize-panes
Also display an indicator when synchronize-panes is turned on in the status bar, not only for the prefix.
This commit is contained in:
@@ -133,9 +133,12 @@ set -g mode-style bg=brightyellow,fg=black
|
||||
set -g pane-border-style bg=default,fg=brightblack
|
||||
set -g pane-active-border-style bg=default,fg=brightyellow
|
||||
|
||||
# Display prefix when pressed
|
||||
# Display in the status bar when the prefix was pressed or `synchronize-panes`
|
||||
# is turned on
|
||||
set -g @prefix_highlight_fg 'black'
|
||||
set -g @prefix_highlight_bg 'brightyellow'
|
||||
set -g @prefix_highlight_show_sync_mode 'on'
|
||||
set -g @prefix_highlight_sync_mode_attr 'fg=black,bg=brightyellow'
|
||||
set -g status-right "#{prefix_highlight}"
|
||||
set -g status-left "#{prefix_highlight}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user