vim should adjust as well
This commit is contained in:
parent
629a4b6300
commit
ef691a32da
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -26,7 +26,7 @@ set noerrorbells visualbell t_vb=
|
||||||
" Relies on tmux, fails spectacularly with screen!
|
" Relies on tmux, fails spectacularly with screen!
|
||||||
if $TERM =~ '^[xterm|rxvt-unicode|screen]'
|
if $TERM =~ '^[xterm|rxvt-unicode|screen]'
|
||||||
let &t_Co=256
|
let &t_Co=256
|
||||||
if $TERM =~ '^screen'
|
if $TERM =~ '^screen' && v:version >= 700
|
||||||
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[6 q\<Esc>\\"
|
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[6 q\<Esc>\\"
|
||||||
let &t_EI = "\<Esc>Ptmux;\<Esc>\e[4 q\<Esc>\\"
|
let &t_EI = "\<Esc>Ptmux;\<Esc>\e[4 q\<Esc>\\"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue