diff --git a/plugin/bracketed-paste.vim b/plugin/bracketed-paste.vim index 315a3cb..49517e7 100644 --- a/plugin/bracketed-paste.vim +++ b/plugin/bracketed-paste.vim @@ -9,6 +9,11 @@ " Docs on mapping fast escape codes in vim " http://vim.wikia.com/wiki/Mapping_fast_keycodes_in_terminal_Vim +if exists("g:loaded_bracketed_paste") + finish +endif +let g:loaded_bracketed_paste = 1 + let &t_ti .= "\[?2004h" let &t_te .= "\[?2004l"