Active Topics

 


Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on May 2009
#1
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
 
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:
Posts: 5 | Thanked: 0 times | Joined on May 2009
#3
awesome!

thanks for your help bousch.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:00.