summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2026-06-05 16:44:45 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2026-06-05 16:44:56 +0200
commit3db7b9140f5949b84f1701dd75328a1b0a95be2e (patch)
tree228c8ff91ef874d1be95d38dcc5a2154c6984e47 /tmux
parent37e81d3ba19051938f61c10d0611ebcac3b583eb (diff)
tmux: add zoom status in tab
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 861d9bf..0b06e38 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -26,9 +26,9 @@ set-option -g focus-events on
# no spacew between tabs
set-window-option -g window-status-separator ''
# paints the tab yellow when in select/scroll mode
-set-window-option -g window-status-format '#{?pane_in_mode,#[bg=brightyellow],} #I:#W #[default]'
+set-window-option -g window-status-format '#{?pane_in_mode,#[bg=brightyellow],} #I:#W #{?#{m:*Z*,#{window_flags}},[Z]} #[default]'
# paints selected tab white (unless in scroll mode)
-set-window-option -g window-status-current-format '#[bg=brightwhite]#{?pane_in_mode,#[bg=brightyellow],} #I:#W #[default]'
+set-window-option -g window-status-current-format '#[bg=brightwhite]#{?pane_in_mode,#[bg=brightyellow],} #I:#W #{?#{m:*Z*,#{window_flags}},[Z]} #[default]'
# open pane splits and windows at the same path as current pane
bind '"' split-window -v -c "#{pane_current_path}"