=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.302 retrieving revision 1.303 diff -c -r1.302 -r1.303 *** src/usr.bin/tmux/tmux.1 2012/08/11 07:10:01 1.302 --- src/usr.bin/tmux/tmux.1 2012/09/03 09:57:57 1.303 *************** *** 1,4 **** ! .\" $OpenBSD: tmux.1,v 1.302 2012/08/11 07:10:01 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" --- 1,4 ---- ! .\" $OpenBSD: tmux.1,v 1.303 2012/09/03 09:57:57 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" *************** *** 14,20 **** .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: August 11 2012 $ .Dt TMUX 1 .Os .Sh NAME --- 14,20 ---- .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: September 3 2012 $ .Dt TMUX 1 .Os .Sh NAME *************** *** 1062,1067 **** --- 1062,1094 ---- For the meaning of the .Fl F flag, see the + .Sx FORMATS + section. + This command works only from inside + .Nm . + .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 from inside