From 082fbf6ecb801910d0f43b17322c4473428cfb0a Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 30 Jun 2015 00:30:58 +0300 Subject: [PATCH] fix regex for supported TERM values --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 9469fe9..995c760 100644 --- a/vimrc +++ b/vimrc @@ -23,7 +23,7 @@ set sidescroll=1 set noerrorbells visualbell t_vb= " enforce 256 colours for ssh connections and VTE -if $TERM =~ '^xterm.*$' || $TERM =~ '^rxvt-unicode.*$' || $TERM == '^screen.*$' +if $TERM =~ '^xterm' || $TERM =~ '^rxvt-unicode' || $TERM =~ '^screen' let &t_SI .= "\[6 q" let &t_EI .= "\[4 q" let &t_Co=256