1
- *term.txt* For Vim version 9.0. Last change: 2023 Jan 15
1
+ *term.txt* For Vim version 9.0. Last change: 2023 Oct 25
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -104,6 +104,11 @@ pasted text. This way Vim can separate text that is pasted from characters
104
104
that are typed. The pasted text is handled like when the middle mouse button
105
105
is used, it is inserted literally and not interpreted as commands.
106
106
107
+ Please note: while bracketed paste is trying to prevent nasty side-effects
108
+ from pasting (like the CTRL-C or <ESC> key), it's not a guaranteed security
109
+ measure because different terminals may implement this mode slightly
110
+ differently. You should still be careful with what you paste into Vim.
111
+
107
112
When the cursor is in the first column, the pasted text will be inserted
108
113
before it. Otherwise the pasted text is appended after the cursor position.
109
114
This means one cannot paste after the first column. Unfortunately Vim does
@@ -122,6 +127,9 @@ If |t_PS| or |t_PE| is not set, then |t_BE| will not be used. This is to make
122
127
sure that bracketed paste is not enabled when the escape codes surrounding
123
128
pasted text cannot be recognized.
124
129
130
+ Note: bracketed paste mode will be disabled, when the 'esckeys' option is not
131
+ set (also when the 'compatible' option is set).
132
+
125
133
If your terminal supports bracketed paste, but the options are not set
126
134
automatically, you can try using something like this: >
127
135
@@ -744,8 +752,8 @@ For Windows Terminal you can use something like this: >
744
752
let &t_SI = "\e[5 q" " blink bar
745
753
let &t_SR = "\e[3 q" " blink underline
746
754
let &t_EI = "\e[1 q" " blink block
747
- let &t_ti ..= "\e[1 q" " blink block
748
- let &t_te ..= "\e[0 q" " default (depends on terminal, normally blink block)
755
+ let &t_ti ..= "\e[1 q" " blink block
756
+ let &t_te ..= "\e[0 q" " default (depends on terminal, normally blink block)
749
757
endif
750
758
751
759
{not available when compiled without the | +cursorshape | feature}
0 commit comments