![]() |
vim syntax - color is not working
Hi,
today I recieved my n810 and run in some problem with vim from the maemo repositories. Syntax highlighting does not seem to work, no color. I tried :syntax on, but then only some words are bold and export TERM=xterm-color also did not seem to change anything. First I thought it was a problem with the osso-xterm, but the bash promt (bash2 from the maemo repo) shows color. What Iam doing wrong? Any ideas? greetings, cameris |
Re: vim syntax - color is not working
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. |
Re: vim syntax - color is not working
awesome!
thanks for your help bousch. |
All times are GMT. The time now is 07:35. |
vBulletin® Version 3.8.8