version 1.386, 2014/04/02 18:12:18 |
version 1.387, 2014/04/16 21:02:41 |
|
|
section. |
section. |
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-list |
|
.Op Fl l Ar items |
|
.Op Fl t Ar target-window |
|
.Op Ar template |
|
.Xc |
|
Put a window into list choice mode, allowing |
|
.Ar items |
|
to be selected. |
|
.Ar items |
|
can be a comma-separated list to display more than one item. |
|
If an item has spaces, that entry must be quoted. |
|
After an item is chosen, |
|
.Ql %% |
|
is replaced by the chosen item in the |
|
.Ar template |
|
and the result is executed as a command. |
|
If |
|
.Ar template |
|
is not given, "run-shell '%%'" is used. |
|
.Ar items |
|
also accepts format specifiers. |
|
For the meaning of this see the |
|
.Sx FORMATS |
|
section. |
|
This command works only if at least one client is attached. |
|
.It Xo |
|
.Ic choose-session |
.Ic choose-session |
.Op Fl F Ar format |
.Op Fl F Ar format |
.Op Fl t Ar target-window |
.Op Fl t Ar target-window |