diff --git a/plugin/bracketed-paste.vim b/plugin/bracketed-paste.vim index 196ec9b..8aa2e36 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') && !exists('$STY')) return a:s endif