diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-03-07 13:36:19 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-03-07 13:36:19 +0000 |
commit | 3275e9bd5b4f9d8aa3961d3468fcd6765191fcc3 (patch) | |
tree | d4250d114482e2b2101db7428b742702d9a4a48d /tmux.1 | |
parent | 9d79a56402850ac35c57e35fe39990d84e1fd5fa (diff) | |
download | rtmux-3275e9bd5b4f9d8aa3961d3468fcd6765191fcc3.tar.gz rtmux-3275e9bd5b4f9d8aa3961d3468fcd6765191fcc3.tar.bz2 rtmux-3275e9bd5b4f9d8aa3961d3468fcd6765191fcc3.zip |
Sync OpenBSD patchset 1037:
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
@@ -3088,7 +3088,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 @@ -3107,6 +3107,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 |