diff options
-rw-r--r-- | runtime/doc/options.txt | 2 | ||||
-rw-r--r-- | src/nvim/options.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 903c99ec8f..98e2d50f1d 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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. *'termpastefilter'* *'tpf'* -'termpastefilter' 'tpf' string (default: "") +'termpastefilter' 'tpf' string (default: "BS,HT,ESC,DEL") global A comma separated list of options for specifying control characters to be removed from the text pasted into the terminal window. The diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 59f36b8479..fe108ef1cc 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2826,7 +2826,7 @@ return { deny_duplicates=true, vim=true, varname='p_tpf', - defaults={if_true={vi="", vim=""}} + defaults={if_true={vi="", vim="BS,HT,ESC,DEL"}} }, { full_name='terse', |