From 701df4d95ab29a1e60ce8a97f6c83808b199ca4a Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 30 Jul 2025 23:15:27 +0200 Subject: [PATCH] Add copy mode indicator styling with bright purple theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add mode-style with bright purple background (#d3869b) matching prefix indicator - Style search matches with yellow and current match with red - Add [COPY] indicator to status bar when in copy mode - Provides consistent visual feedback across tmux modes Copy mode now shows: - Bright purple position indicator in pane - [COPY] text in status bar alongside time - Themed search highlighting for better visibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- modules/tmux.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/tmux.nix b/modules/tmux.nix index 1e28756..2aeca4c 100644 --- a/modules/tmux.nix +++ b/modules/tmux.nix @@ -33,11 +33,16 @@ set -g message-style 'bg=#fabd2f,fg=#282828' set -g message-command-style 'bg=#fabd2f,fg=#282828' + # Copy mode colors + set -g mode-style 'bg=#d3869b,fg=#282828' + set -g copy-mode-match-style 'bg=#fabd2f,fg=#282828' + set -g copy-mode-current-match-style 'bg=#fb4934,fg=#282828' + # Status bar content set -g status-left-length 40 set -g status-right-length 30 set -g status-left '#{?client_prefix,#[bg=#d3869b],#[bg=#a89984]}#[fg=#282828] #S #[default]' - set -g status-right ' %H:%M ' + set -g status-right '#{?pane_in_mode,[COPY],} %H:%M ' # Window status format set -g window-status-format ' #I:#W '