From a7f61f4407a4ad70df190e6eb6317636738eb004 Mon Sep 17 00:00:00 2001 From: Von Welch Date: Wed, 14 Jun 2017 21:15:23 -0400 Subject: [PATCH] Use t_SI and t_SE instead of t_ti and t_te See https://github.com/ConradIrwin/vim-bracketed-paste/issues/32#issuecomment-308299355 --- plugin/bracketed-paste.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/bracketed-paste.vim b/plugin/bracketed-paste.vim index 315a3cb..d5c692a 100644 --- a/plugin/bracketed-paste.vim +++ b/plugin/bracketed-paste.vim @@ -9,8 +9,8 @@ " Docs on mapping fast escape codes in vim " http://vim.wikia.com/wiki/Mapping_fast_keycodes_in_terminal_Vim -let &t_ti .= "\[?2004h" -let &t_te .= "\[?2004l" +let &t_SI .= "\[?2004h" +let &t_EI .= "\[?2004l" function! XTermPasteBegin(ret) set pastetoggle=