summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-20 17:09:48 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-20 17:09:48 +0000
commit90bf560fe4e0fa60bdeaa5c6ecd62187a58f118d (patch)
tree23fd9e84492f3124d67640b32394b6f5d6e9e5e3 /tmux.1
parent5672f2ce6bc87dc5c5215576f8f9a2b6bdadc07a (diff)
Add -C -N -T flags to find-window to find in content, name, title. From
Jonathan Daugherty.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.114
1 files changed, 12 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index a0074d1c..479c2652 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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