aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-29 21:07:28 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-29 21:07:28 +0000
commit65748fb197fc29485aa76d1415d2077269d6015f (patch)
tree09c07c87122a3076545aa34b7f31d7fc35ba72b5 /tmux.1
parent37e5b5d94746c6766ba45bb5d7fef48322d8db63 (diff)
downloadrtmux-65748fb197fc29485aa76d1415d2077269d6015f.tar.gz
rtmux-65748fb197fc29485aa76d1415d2077269d6015f.tar.bz2
rtmux-65748fb197fc29485aa76d1415d2077269d6015f.zip
Sync OpenBSD patchset 1075:
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 6936d613..1c60d9a2 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1103,6 +1103,7 @@ to
.Ql 9
keys.
.It Xo Ic find-window
+.Op Fl CNT
.Op Fl t Ar target-window
.Ar match-string
.Xc
@@ -1112,8 +1113,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