From 6cf7fa405aefd6060f849fe14bc65eb2a5448333 Mon Sep 17 00:00:00 2001 From: LawAbidingCactus Date: Fri, 8 May 2020 13:39:28 +0000 Subject: add tmux 3.2 options; clean up statusline formatting --- tmux-colorscheme.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tmux-colorscheme.conf b/tmux-colorscheme.conf index c5b6a1d..fcda108 100644 --- a/tmux-colorscheme.conf +++ b/tmux-colorscheme.conf @@ -47,10 +47,16 @@ set-option -g display-panes-colour "#3C3836" # clock set-option -wg clock-mode-colour "#FE8019" +# copy mode highlighting +%if #{>=:#{version},3.2} + set-option -wg copy-mode-match-style "bg=#A89984,fg=#3C3836" + set-option -wg copy-mode-current-match-style "bg=#FE8109,fg=#3C3836" +%endif + # statusbar formatting # "#fe8019" MUST be in lowercase here (conflicts with statusline alias otherwise) -set-option -g status-left "#[fg=#3C3836, bg=#A89984]#{?client_prefix,#[bg=#fe8019] #{session_name} #[bg=#A89984], #{session_name} }" -set-option -g status-right "#[fg=#7C6F64, bg=#3C3836] %Y-%m-%d %H:%M:%S #[fg=#3C3836, bg=#A89984]#{?client_prefix,#[bg=#fe8019] #{host_short} #[bg=#A89984], #{host_short} }" +set-option -g status-left "#[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#fe8019],#[bg=#A89984]} #{session_name} " +set-option -g status-right "#[bg=#3C3836, fg=#7C6F64] %Y-%m-%d %H:%M:%S #[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#fe8019],#[bg=#A89984]} #{host_short} " set-option -wg window-status-current-format " #{window_index} #{window_name} " set-option -wg window-status-format " #{window_index} #{window_name} " -- cgit v1.2.3