Commit 63485a4b authored by Adam Monsen's avatar Adam Monsen

simplify bracketed paste mode TERM regex

single quotes FTW
parent 31b1f02a
......@@ -141,7 +141,7 @@ endfunction
" Bracketed paste mode
if &term =~ "xterm" || &term =~ "screen"
if &term =~ 'xterm\|screen'
let &t_ti = &t_ti . "\e[?2004h"
let &t_te = "\e[?2004l" . &t_te
function XTermPasteBegin(ret)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment