diff --git a/plugin/bracketed-paste.vim b/plugin/bracketed-paste.vim index 196ec9b..9606004 100644 --- a/plugin/bracketed-paste.vim +++ b/plugin/bracketed-paste.vim @@ -14,7 +14,7 @@ if !exists("g:bracketed_paste_tmux_wrap") endif function! WrapForTmux(s) - if !g:bracketed_paste_tmux_wrap || !exists('$TMUX') + if !g:bracketed_paste_tmux_wrap || !exists('$TMUX') || system('tmux -V')[5] >= '2' return a:s endif