aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 15:16:36 +0000
committernicm <nicm>2020-05-16 15:16:36 +0000
commit463864f5a25a0015a4f2795ba8a14e0e0bb2fa7a (patch)
tree81fde9d1bcd05f9a76c56ccc146ceb8311a8666e /tmux.1
parent2391fe23ab09cfe8667abdcc3338a958ab3da31d (diff)
downloadrtmux-463864f5a25a0015a4f2795ba8a14e0e0bb2fa7a.tar.gz
rtmux-463864f5a25a0015a4f2795ba8a14e0e0bb2fa7a.tar.bz2
rtmux-463864f5a25a0015a4f2795ba8a14e0e0bb2fa7a.zip
Add -W and -T flags to command-prompt to only complete a window and a
target, also complete aliases.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.110
1 files changed, 9 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 5c873fdd..4911493a 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4969,7 +4969,7 @@ session option.
Commands related to the status line are as follows:
.Bl -tag -width Ds
.It Xo Ic command-prompt
-.Op Fl 1ikN
+.Op Fl 1ikNTW
.Op Fl I Ar inputs
.Op Fl p Ar prompts
.Op Fl t Ar target-client
@@ -5028,6 +5028,14 @@ makes the prompt only accept numeric key presses.
.Fl i
executes the command every time the prompt input changes instead of when the
user exits the command prompt.
+.Fl T
+tells
+.Nm
+that the prompt is for a target which affects what completions are offered when
+.Em Tab
+is pressed;
+.Fl W
+is similar but indicates the prompt is for a window.
.Pp
The following keys have a special meaning in the command prompt, depending
on the value of the