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