From 9768c30600d65021f28db2db991108bda6f7cac9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 25 Nov 2021 08:50:12 +0900 Subject: tmux: show current mode in status line --- .tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 37bbdc6..07758ca 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -25,9 +25,9 @@ set-option -ga terminal-overrides ',*:Setulc=\e[58::2::%p1%{65536}%/%d::%p1%{256 # APPEARANCE {{{2 set-option -g status-justify left set-option -g status-style 'fg=#b1b1c8 bg=#101020' -set-option -g status-left ' TMUX ' +set-option -g status-left '#{?#{==:#{pane_mode},copy-mode},#[bg=#deab52] COPY ,#[bg=#6e6eff] TMUX }' set-option -g status-left-length 20 -set-option -g status-left-style 'fg=#101020 bg=#6e6eff bold' +set-option -g status-left-style 'fg=#101020 bold' set-option -g status-position top set-option -g status-right ' %F (%a) %R ' set-option -g status-right-length 25 -- cgit v1.2.3-70-g09d2