View Single Post
Posts: 120 | Thanked: 69 times | Joined on Nov 2007 @ NL
#2
I put these lines in my vimrc and it works for me:

set t_Co=256
set t_AB=^[[48;5;%dm
set t_AF=^[[38;5;%dm
syntax enable

you have to enter ^[ with ctrl-v followed by escape.
 

The Following 3 Users Say Thank You to bousch For This Useful Post: