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 From adcd5aff6fb86036ef736c10b04005da77a465f6 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 9 Jun 2017 16:01:39 +0000 Subject: Extend filters (f key) to buffer and client mode and add -f flag to specify to command. --- tmux.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index dab6530e..27833560 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 f Ar filter .Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template @@ -1377,6 +1378,7 @@ The following keys may be used in client mode: .It Li "X" Ta "Detach and HUP tagged clients" .It Li "z" Ta "Suspend selected client" .It Li "Z" Ta "Suspend tagged clients" +.It Li "f" Ta "Enter a format to filter items" .It Li "O" Ta "Change sort order" .It Li "q" Ta "Exit mode" .El @@ -1397,10 +1399,13 @@ specifies the initial sort order: one of .Ql creation , or .Ql activity . +.Fl f +specifies an initial filter. This command works only if at least one client is attached. .It Xo .Ic choose-tree .Op Fl sw +.Op Fl f Ar filter .Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template @@ -1443,6 +1448,8 @@ specifies the initial sort order: one of .Ql name , or .Ql time . +.Fl f +specifies an initial filter. This command works only if at least one client is attached. .It Xo .Ic display-panes @@ -3972,6 +3979,7 @@ The buffer commands are as follows: .Bl -tag -width Ds .It Xo .Ic choose-buffer +.Op Fl f Ar filter .Op Fl O Ar sort-order .Op Fl t Ar target-pane .Op Ar template @@ -3991,6 +3999,7 @@ The following keys may be used in buffer mode: .It Li "C-t" Ta "Tag all buffers" .It Li "d" Ta "Delete selected buffer" .It Li "D" Ta "Delete tagged buffers" +.It Li "f" Ta "Enter a format to filter items" .It Li "O" Ta "Change sort order" .It Li "q" Ta "Exit mode" .El @@ -4010,6 +4019,8 @@ specifies the initial sort order: one of .Ql name or .Ql size . +.Fl f +specifies an initial filter. 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