diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-03-03 09:43:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-03-03 09:43:22 +0000 |
commit | f4fdddc9306886e3ab5257f40003f6db83ac926b (patch) | |
tree | 0c2408c8a736a203ecbe35ff8a7f737adceab4e3 /tmux.1 | |
parent | 4b8bb7770fc06ae61942372ff7edc38b64efb58d (diff) |
Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if
this is used and the application has requested bracketed pastes, then
tmux surrounds the pasted text by \033[200~ and \033[201~. Applications
like vim can (apparently) use this to avoid, for example, indenting the
text. From Ailin Nemui.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3084,7 +3084,7 @@ List the global buffers. Load the contents of the specified paste buffer from .Ar path . .It Xo Ic paste-buffer -.Op Fl dr +.Op Fl dpr .Op Fl b Ar buffer-index .Op Fl s Ar separator .Op Fl t Ar target-pane @@ -3103,6 +3103,10 @@ flag. The .Fl r flag means to do no replacement (equivalent to a separator of LF). +If +.Fl p +is specified, paste bracket control codes are inserted around the +buffer if the application has requested bracketed paste mode. .It Xo Ic save-buffer .Op Fl a .Op Fl b Ar buffer-index |