From f1ed7e4d0e13d40fdecb4640e0f3770b11a40d9c Mon Sep 17 00:00:00 2001 From: Stephen Date: Tue, 14 Jan 2014 14:38:42 +0000 Subject: [PATCH] allow this inside screen as well --- 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 fa1f6bf..25959c2 100644 --- a/plugin/bracketed-paste.vim +++ b/plugin/bracketed-paste.vim @@ -2,7 +2,7 @@ " http://stackoverflow.com/questions/5585129/pasting-code-into-terminal-window-into-vim-on-mac-os-x " Docs on bracketed paste mode: " http://www.xfree86.org/current/ctlseqs.html -if &term =~ "xterm.*" +if &term =~ "xterm.*" || &term =~ "screen*" let &t_ti = &t_ti . "\e[?2004h" let &t_te = "\e[?2004l" . &t_te function! XTermPasteBegin(ret)