summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-03-13 15:37:28 +0000
committernicm <nicm>2019-03-13 15:37:28 +0000
commit95ab1aaaecdf834e2b66b8743da51125b3a907a5 (patch)
tree1d3a7cf3bb1a21b43573513b3bc6bdf6243dca04 /tmux.1
parent49f04a997a578daff49e4c0b1ed32eb80e7aecfb (diff)
Add formats to list sessions, windows or panes.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 11 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 3476a1ae..df35d839 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3719,6 +3719,17 @@ will expand the format twice, for example
is the result of expanding the content of the
.Ic status-left
option rather than the content itself.
+.Ql S: ,
+.Ql W:
+or
+.Ql P:
+will loop over each session, window or pane and insert the format once
+for each. For windows and panes, two comma-separated formats may be
+given, the second is used for the current window or active pane. For
+example to get a list of windows formatted like the status line:
+.Bd -literal -offset indent
+#{W:#{E:window-status-format} ,#{E:window-status-current-format} }
+.Ed
A prefix of the form
.Ql s/foo/bar/:
will substitute