From 1e3fadb4196275f45009350b15fd39aef9d848c7 Mon Sep 17 00:00:00 2001 From: erw7 Date: Sat, 4 Apr 2020 16:10:09 +0900 Subject: Add termpastefilter option Change to specify a character to be filtered as an option when pasting on the terminal. --- src/nvim/options.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index df2bfbce34..59f36b8479 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2820,6 +2820,14 @@ return { varname='p_tgc', defaults={if_true={vi=false}} }, + { + full_name='termpastefilter', abbreviation='tpf', + type='string', list='onecomma', scope={'global'}, + deny_duplicates=true, + vim=true, + varname='p_tpf', + defaults={if_true={vi="", vim=""}} + }, { full_name='terse', short_desc=N_("hides notification of search wrap"), -- cgit