summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2016-10-21 13:51:59 +0000
committernicm <nicm>2016-10-21 13:51:59 +0000
commit8084a2c9e60b8cc0c32b55f23bfd7b839f082252 (patch)
treebc599d4a06ad465f6b6d905d1516e6c7fb8d02bb /tmux.1
parent99c262b7d0a2f41497327e8f5caefde802178346 (diff)
Add %%% to substitute with quotes escaped (convert " to \"). Use this
for the prompts in copy mode. Fixes problems with jumping to ' reported by Theo Buehler.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 419e3bbd..61612831 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3147,6 +3147,7 @@ option.
.Xc
If this option is set, searches will wrap around the end of the pane contents.
The default is on.
+.Pp
.It Xo Ic xterm-keys
.Op Ic on | off
.Xc
@@ -3157,7 +3158,6 @@ will generate
function key sequences; these have a number included to indicate modifiers such
as Shift, Alt or Ctrl.
The default is off.
-.Pp
.El
.It Xo Ic show-options
.Op Fl gqsvw
@@ -3770,6 +3770,10 @@ Up to nine prompt responses may be replaced
to
.Ql %9
.Pc .
+.Ql %%%
+is like
+.Ql %%
+but any quotation marks are escaped.
.Pp
.Fl 1
makes the prompt only accept one key press, in this case the resulting input