vim thinks it has BCE on Terminal.app, it is wrong

This commit is contained in:
David Majnemer 2010-08-20 01:15:09 -04:00
parent b1fdc24c46
commit 147ec89447

5
vimrc
View file

@ -346,6 +346,11 @@ if (&term =~ "^xterm")
map! <C-[>[5C <C-Right> map! <C-[>[5C <C-Right>
endif endif
" Terminal.app does not support back color erase
if ($TERM_PROGRAM == "Apple_Terminal" && $TERM_PROGRAM_VERSION <= 273)
set t_ut=
endif
" Python specific stuff " Python specific stuff
if has('eval') if has('eval')
let python_highlight_all = 1 let python_highlight_all = 1