Clarify choose-tree entry in man page.

This commit is contained in:
Nicholas Marriott 2013-02-13 11:07:21 +00:00
parent 6e03b50771
commit 931b0103cd
1 changed files with 14 additions and 8 deletions

22
tmux.1
View File

@ -1154,25 +1154,30 @@ is given, will show sessions.
If If
.Fl w .Fl w
is given, will show windows. is given, will show windows.
If .Pp
By default, the tree is collapsed and sessions must be expanded to windows
with the right arrow key.
The
.Fl u .Fl u
is given, the tree is uncollapsed by default. will start with all all sessions expanded instead.
.Pp
If If
.Fl b .Fl b
is given, will override the default session command. is given, will override the default session command.
Note that Note that
.Ql %% .Ql %%
can be used, and will be replaced with the session name. can be used and will be replaced with the session name.
The default option if not specified is "switch-client -t '%%'". The default option if not specified is "switch-client -t '%%'".
If If
.Fl c .Fl c
is given, will override the default window command. is given, will override the default window command.
Note that Like
.Fl b ,
.Ql %% .Ql %%
can be used, and will be replaced with the session name and window index. can be used and will be replaced with the session name and window index.
This command will run When a window is chosen from the list, the session command is run before the
.Ar session-template window command.
before it. .Pp
If If
.Fl S .Fl S
is given will display the specified format instead of the default session is given will display the specified format instead of the default session
@ -1188,6 +1193,7 @@ and
options, see the options, see the
.Sx FORMATS .Sx FORMATS
section. section.
.Pp
This command works only if at least one client is attached. This command works only if at least one client is attached.
.It Xo .It Xo
.Ic choose-window .Ic choose-window