From e609efc38565c748d5d245b409eb81213ec2f005 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 27 Jun 2022 02:29:11 +0200 Subject: [PATCH] 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. --- .config/tmux/tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index a97683e..1d2667e 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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}"