how do you show the full window list using 2.9's status-format[]

19 views
Skip to first unread message

Sreeram Mittapalli

unread,
Jan 27, 2020, 1:09:54 AM1/27/20
to tmux-users
per the docs for 2.9: https://raw.githubusercontent.com/tmux/tmux/2.9/CHANGES:

Additions to the #[] syntax are: "align" to specify alignment (left, centre,
right), "list" for the window list and "range" to configure ranges of text
for the mouse bindings.

I'm trying to show the full window list in the 2nd or 3rd status line, but can't get it to work. This paragraph says you can use "list" in the "#[]" syntax but it's not working.

i've tried something like: `tmux set status 2; tmux set status-format[1] "#[list]"` , but this doesn't show anything.

Anyone know how to get this working?

Nicholas Marriott

unread,
Jan 27, 2020, 1:15:49 AM1/27/20
to Sreeram Mittapalli, tmux-users
Look at what is in status-format[0]?

--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/e3db5bdc-b50a-4195-a58a-df7c468a1350%40googlegroups.com.

Sreeram Mittapalli

unread,
Jan 27, 2020, 11:23:18 AM1/27/20
to tmux-users
oh dang, good call. some long complicated code that did what window-status-format and window-status-current-format did. but it works!


On Monday, January 27, 2020 at 12:15:49 AM UTC-6, Nicholas Marriott wrote:
Look at what is in status-format[0]?

On Mon, 27 Jan 2020, 06:09 Sreeram Mittapalli, <sreeram....@gmail.com> wrote:
per the docs for 2.9: https://raw.githubusercontent.com/tmux/tmux/2.9/CHANGES:

Additions to the #[] syntax are: "align" to specify alignment (left, centre,
right), "list" for the window list and "range" to configure ranges of text
for the mouse bindings.

I'm trying to show the full window list in the 2nd or 3rd status line, but can't get it to work. This paragraph says you can use "list" in the "#[]" syntax but it's not working.

i've tried something like: `tmux set status 2; tmux set status-format[1] "#[list]"` , but this doesn't show anything.

Anyone know how to get this working?

--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages