Mike Gerdts wrote:
> On Wed, Aug 20, 2008 at 6:24 PM, Matt Harrison
> <[EMAIL PROTECTED]> wrote:
>> I probably should have mentioned, I'm running SXCE (snv_95). I've tried
>> all the TERM=xtermc, TERM=xterm-color stuff, and I'm still in black and
>> white.
> 
> I have the following in my .vimrc:
> 
> :if has("terminfo")
>     :  set t_Co=8
>     :  set t_Sf=ESC[3%p1%dm
>     :  set t_Sb=ESC[4%p1%dm
>     : syntax on
> :else
>     :  set t_Co=8
>     :  set t_Sf=ESC[3%dm
>     :  set t_Sb=ESC[4%dm
>     : syntax on
> :endif
> 
> 
> Replace ESC with an escape character (^V<esc>).
> 

Excellent :D

I had found something through google that said to do this, but using 
different escape codes. It didn't work, but this does :)

I now have coloured syntax hilighting over ssh and at the console :)

many thanks

Matt
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to