comparison runtime/doc/term.txt @ 31588:e94571ac4134 v9.0.1126

patch 9.0.1126: bracketed paste can be enabled when it is not recognized Commit: https://github.com/vim/vim/commit/fc966c19f85afc6b856a06c00a93c4fe96280d31 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 1 18:04:33 2023 +0000 patch 9.0.1126: bracketed paste can be enabled when it is not recognized 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.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Jan 2023 19:15:03 +0100
parents 7d68a90cbf5c
children 5ed19049b1e8
comparison
equal deleted inserted replaced
31587:40f9cc5fc462 31588:e94571ac4134
1 *term.txt* For Vim version 9.0. Last change: 2022 Dec 31 1 *term.txt* For Vim version 9.0. Last change: 2023 Jan 01
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
115 have a problem with this, disable bracketed paste by putting this in your 115 have a problem with this, disable bracketed paste by putting this in your
116 .vimrc: > 116 .vimrc: >
117 set t_BE= 117 set t_BE=
118 If this is done while Vim is running the 't_BD' will be sent to the terminal 118 If this is done while Vim is running the 't_BD' will be sent to the terminal
119 to disable bracketed paste. 119 to disable bracketed paste.
120
121 If |t_PS| or |t_PE| is not set, then |t_BE| will not be used. This is to make
122 sure that bracketed paste is not enabled when the escape codes surrounding
123 pasted text cannot be recognized.
120 124
121 If your terminal supports bracketed paste, but the options are not set 125 If your terminal supports bracketed paste, but the options are not set
122 automatically, you can try using something like this: > 126 automatically, you can try using something like this: >
123 127
124 if &term =~ "screen" 128 if &term =~ "screen"