diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-25 08:50:12 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-25 08:50:12 +0900 |
| commit | 9768c30600d65021f28db2db991108bda6f7cac9 (patch) | |
| tree | f7fddeb96c23c5969e7e700df7cdf8ec9a0469b6 | |
| parent | bf33170db6258daf62063b093f8c4e7238efc7a0 (diff) | |
| download | dotfiles-9768c30600d65021f28db2db991108bda6f7cac9.tar.gz dotfiles-9768c30600d65021f28db2db991108bda6f7cac9.tar.zst dotfiles-9768c30600d65021f28db2db991108bda6f7cac9.zip | |
tmux: show current mode in status line
| -rw-r--r-- | .tmux.conf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
