mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Change default for tpf option
Change the default of tpf to the same value as the default of xterm's disallowedPasteControls, because it may be a security risk.
This commit is contained in:
@@ -6290,7 +6290,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Requires an ISO-8613-3 compatible terminal.
|
Requires an ISO-8613-3 compatible terminal.
|
||||||
|
|
||||||
*'termpastefilter'* *'tpf'*
|
*'termpastefilter'* *'tpf'*
|
||||||
'termpastefilter' 'tpf' string (default: "")
|
'termpastefilter' 'tpf' string (default: "BS,HT,ESC,DEL")
|
||||||
global
|
global
|
||||||
A comma separated list of options for specifying control characters
|
A comma separated list of options for specifying control characters
|
||||||
to be removed from the text pasted into the terminal window. The
|
to be removed from the text pasted into the terminal window. The
|
||||||
|
@@ -2826,7 +2826,7 @@ return {
|
|||||||
deny_duplicates=true,
|
deny_duplicates=true,
|
||||||
vim=true,
|
vim=true,
|
||||||
varname='p_tpf',
|
varname='p_tpf',
|
||||||
defaults={if_true={vi="", vim=""}}
|
defaults={if_true={vi="", vim="BS,HT,ESC,DEL"}}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
full_name='terse',
|
full_name='terse',
|
||||||
|
Reference in New Issue
Block a user