1
0
Fork 0

fix regex for supported TERM values

This commit is contained in:
Von Random 2015-06-30 00:30:58 +03:00
parent 31d82e3132
commit 082fbf6ecb

2
vimrc
View file

@ -23,7 +23,7 @@ set sidescroll=1
set noerrorbells visualbell t_vb= set noerrorbells visualbell t_vb=
" enforce 256 colours for ssh connections and VTE " 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 .= "\<Esc>[6 q" let &t_SI .= "\<Esc>[6 q"
let &t_EI .= "\<Esc>[4 q" let &t_EI .= "\<Esc>[4 q"
let &t_Co=256 let &t_Co=256