From 482e77853569acef90a723b4a15856e440cd8788 Mon Sep 17 00:00:00 2001 From: jbarbero Date: Wed, 15 Mar 2017 10:43:49 -0700 Subject: [PATCH] GNU screen support --- plugin/bracketed-paste.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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