summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-03-20 17:09:49 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-03-20 17:09:49 +0000
commitb477c986316276a67ba58c57e22dc8c37d830929 (patch)
tree7070a472c1565b5c5c33caa93a7495c39878753b /usr.bin/tmux/tmux.1
parent703a5fa04aedcee12c93ea8bd12423dcfde67db2 (diff)
Add -C -N -T flags to find-window to find in content, name, title. From
Jonathan Daugherty.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.116
1 files changed, 13 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 7aa1bd9e92d..40e0b695328 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.284 2012/03/20 11:23:12 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.285 2012/03/20 17:09:48 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -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