From bab4da51334499d1e3e43ad155f2f8da6ad0eb76 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 9 Jun 2017 15:29:15 +0000 Subject: Add -O option to choose-* to set initial sort order. --- tmux.1 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 025adf69..dab6530e 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1354,6 +1354,7 @@ the end of the visible pane. The default is to capture only the visible contents of the pane. .It Xo .Ic choose-client +.Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template .Xc @@ -1389,10 +1390,18 @@ If .Ar template is not given, "detach-client -t '%%'" is used. .Pp +.Fl O +specifies the initial sort order: one of +.Ql name , +.Ql size , +.Ql creation , +or +.Ql activity . This command works only if at least one client is attached. .It Xo .Ic choose-tree .Op Fl sw +.Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template .Xc @@ -1428,6 +1437,12 @@ If .Ar template is not given, "switch-client -t '%%'" is used. .Pp +.Fl O +specifies the initial sort order: one of +.Ql index , +.Ql name , +or +.Ql time . This command works only if at least one client is attached. .It Xo .Ic display-panes @@ -3957,6 +3972,7 @@ The buffer commands are as follows: .Bl -tag -width Ds .It Xo .Ic choose-buffer +.Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template .Xc @@ -3988,6 +4004,12 @@ If .Ar template is not given, "paste-buffer -b '%%'" is used. .Pp +.Fl O +specifies the initial sort order: one of +.Ql time , +.Ql name +or +.Ql size . This command works only if at least one client is attached. .It Ic clear-history Op Fl t Ar target-pane .D1 (alias: Ic clearhist ) -- cgit