From c1f62f1fdebc3bd000b81bd93dcae6f1a539f345 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 2 Nov 2017 18:27:35 +0000 Subject: Only show the first member of session groups in tree mode (-G flag disables). --- tmux.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 847e3e1b..b7b2a088 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1428,7 +1428,7 @@ starts without the preview. This command works only if at least one client is attached. .It Xo .Ic choose-tree -.Op Fl Nsw +.Op Fl GNsw .Op Fl F Ar format .Op Fl f Ar filter .Op Fl O Ar sort-order @@ -1484,6 +1484,9 @@ If a filter would lead to an empty list, it is ignored. specifies the format for each item in the tree. .Fl N starts without the preview. +.Fl G +includes all sessions in any session groups in the tree rather than only the +first. This command works only if at least one client is attached. .It Xo .Ic display-panes @@ -3710,6 +3713,8 @@ The following variables are available, where appropriate: .It Li "session_format" Ta "" Ta "1 if format is for a session (not assuming the current)" .It Li "session_last_attached" Ta "" Ta "Time session last attached" .It Li "session_group" Ta "" Ta "Name of session group" +.It Li "session_group_size" Ta "" Ta "Size of session group" +.It Li "session_group_others" Ta "" Ta "List of other sessions in group" .It Li "session_grouped" Ta "" Ta "1 if session in a group" .It Li "session_height" Ta "" Ta "Height of session" .It Li "session_id" Ta "" Ta "Unique session ID" -- cgit From 17655e5ba65e37787cd9920e1a89aedf6f623957 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 2 Nov 2017 18:52:05 +0000 Subject: Format for group list of "other sessions" is a bit weird, just list all the sessions in the group. --- tmux.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index b7b2a088..a67a7274 100644 --- a/tmux.1 +++ b/tmux.1 @@ -3714,7 +3714,7 @@ The following variables are available, where appropriate: .It Li "session_last_attached" Ta "" Ta "Time session last attached" .It Li "session_group" Ta "" Ta "Name of session group" .It Li "session_group_size" Ta "" Ta "Size of session group" -.It Li "session_group_others" Ta "" Ta "List of other sessions in group" +.It Li "session_group_list" Ta "" Ta "List of sessions in group" .It Li "session_grouped" Ta "" Ta "1 if session in a group" .It Li "session_height" Ta "" Ta "Height of session" .It Li "session_id" Ta "" Ta "Unique session ID" -- cgit