=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.490 retrieving revision 1.491 diff -u -r1.490 -r1.491 --- src/usr.bin/tmux/tmux.1 2016/06/15 14:43:06 1.490 +++ src/usr.bin/tmux/tmux.1 2016/06/16 10:55:47 1.491 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.490 2016/06/15 14:43:06 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.491 2016/06/16 10:55:47 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" 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: June 15 2016 $ +.Dd $Mdocdate: June 16 2016 $ .Dt TMUX 1 .Os .Sh NAME @@ -1458,7 +1458,11 @@ .Sx FORMATS section. This command works only if at least one client is attached. -.It Ic display-panes Op Fl t Ar target-client +.It Xo +.Ic display-panes +.Op Fl t Ar target-client +.Op Ar template +.Xc .D1 (alias: Ic displayp ) Display a visible indicator of each pane shown by .Ar target-client . @@ -1468,11 +1472,18 @@ and .Ic display-panes-active-colour session options. -While the indicator is on screen, a pane may be selected with the +While the indicator is on screen, a pane may be chosen with the .Ql 0 to .Ql 9 -keys. +keys, which will cause +.Ar template +to be executed as a command with +.Ql %% +substituted by the pane ID. +The default +.Ar template +is "select-pane -t '%%'". .It Xo Ic find-window .Op Fl CNT .Op Fl F Ar format