From d9ea048411d9a4de28aaf66a78461ec8a8341189 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 27 Jun 2022 02:45:27 +0200 Subject: [PATCH] tmux: Also display indicator for copy-mode --- .config/tmux/tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 1d2667e..44a9cd5 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -133,11 +133,13 @@ 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 in the status bar when the prefix was pressed or `synchronize-panes` -# is turned on +# Display in the status bar when the prefix was pressed, copy-mode is active, or +# `synchronize-panes` is turned on set -g @prefix_highlight_fg 'black' set -g @prefix_highlight_bg 'brightyellow' +set -g @prefix_highlight_show_copy_mode 'on' set -g @prefix_highlight_show_sync_mode 'on' +set -g @prefix_highlight_copy_mode_attr 'fg=black,bg=brightyellow' set -g @prefix_highlight_sync_mode_attr 'fg=black,bg=brightyellow' set -g status-right "#{prefix_highlight}" set -g status-left "#{prefix_highlight}"