allow this inside screen as well

This commit is contained in:
Stephen 2014-01-14 14:38:42 +00:00
parent 895b79ae0f
commit f1ed7e4d0e

View File

@ -2,7 +2,7 @@
" http://stackoverflow.com/questions/5585129/pasting-code-into-terminal-window-into-vim-on-mac-os-x " http://stackoverflow.com/questions/5585129/pasting-code-into-terminal-window-into-vim-on-mac-os-x
" Docs on bracketed paste mode: " Docs on bracketed paste mode:
" http://www.xfree86.org/current/ctlseqs.html " http://www.xfree86.org/current/ctlseqs.html
if &term =~ "xterm.*" if &term =~ "xterm.*" || &term =~ "screen*"
let &t_ti = &t_ti . "\e[?2004h" let &t_ti = &t_ti . "\e[?2004h"
let &t_te = "\e[?2004l" . &t_te let &t_te = "\e[?2004l" . &t_te
function! XTermPasteBegin(ret) function! XTermPasteBegin(ret)