fix regex for supported TERM values
This commit is contained in:
parent
31d82e3132
commit
082fbf6ecb
1 changed files with 1 additions and 1 deletions
2
vimrc
2
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 .= "\<Esc>[6 q"
|
||||
let &t_EI .= "\<Esc>[4 q"
|
||||
let &t_Co=256
|
||||
|
|
Loading…
Reference in a new issue