From 8084a2c9e60b8cc0c32b55f23bfd7b839f082252 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 21 Oct 2016 13:51:59 +0000 Subject: 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. --- tmux.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tmux.1') 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 -- cgit