Add -C -N -T flags to find-window to find in content, name, title. From

Jonathan Daugherty.
This commit is contained in:
Nicholas Marriott
2012-03-20 17:09:48 +00:00
parent 5672f2ce6b
commit 90bf560fe4
2 changed files with 64 additions and 8 deletions

14
tmux.1
View File

@ -1099,6 +1099,7 @@ to
.Ql 9
keys.
.It Xo Ic find-window
.Op Fl CNT
.Op Fl t Ar target-window
.Ar match-string
.Xc
@ -1108,8 +1109,17 @@ Search for the
pattern
.Ar match-string
in window names, titles, and visible content (but not history).
If only one window is matched, it'll be automatically selected, otherwise a
choice list is shown.
The flags control matching behavior:
.Fl C
matches only visible window contents,
.Fl N
matches only the window name and
.Fl T
matches only the window title.
The default is
.Fl CNT .
If only one window is matched, it'll be automatically selected,
otherwise a choice list is shown.
This command only works from inside
.Nm .
.It Xo Ic join-pane