diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-01-01 18:04:33 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-01 18:04:33 +0000 |
commit | fc966c19f85afc6b856a06c00a93c4fe96280d31 (patch) | |
tree | d572275a08c5e978e69f1dcd401dd9a23c9b969b /runtime/doc/term.txt | |
parent | ec8b74f7ab37ac83045c9eba723daf3ff8d62fc2 (diff) |
patch 9.0.1126: bracketed paste can be enabled when it is not recognizedv9.0.1126
Problem: Bracketed paste can be enabled when pasted text is not recognized.
Solution: Output t_BE only when t_PS and t_PE are set.
Diffstat (limited to 'runtime/doc/term.txt')
-rw-r--r-- | runtime/doc/term.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt index f519bed762..8b8214c300 100644 --- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -1,4 +1,4 @@ -*term.txt* For Vim version 9.0. Last change: 2022 Dec 31 +*term.txt* For Vim version 9.0. Last change: 2023 Jan 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -118,6 +118,10 @@ have a problem with this, disable bracketed paste by putting this in your If this is done while Vim is running the 't_BD' will be sent to the terminal to disable bracketed paste. +If |t_PS| or |t_PE| is not set, then |t_BE| will not be used. This is to make +sure that bracketed paste is not enabled when the escape codes surrounding +pasted text cannot be recognized. + If your terminal supports bracketed paste, but the options are not set automatically, you can try using something like this: > |