strange behavior of vim syntax highlighting

Aaron Konstam akonstam at sbcglobal.net
Tue Sep 2 18:32:46 UTC 2008


On Tue, 2008-09-02 at 15:42 +0200, Uwe Kiewel wrote:
> Gilboa Davara schrieb:
> > On Tue, 2008-09-02 at 15:00 +0200, Uwe Kiewel wrote:
> >> Hi world,
> >>
> >> I've got a problem using vim's syntax highlighting feature.
> >>
> >> System: Runlevel 5, KDE, Fedora 8
> >>
> >> - in a text console (STRG-ALT-F1)-> it works
> >> - ssh to localhost or ssh from a remote system -> it works
> >> - as user doing su - user -> it works
> >> - opening a xterm in KDE -> it doesn't work
> >>
> >>
> >> My question: What is the difference between the first 3 ways and the
> >> last one in allocating the vim environment?
> >>
> >> Thanks,
> >> 	Uwe
> >>
> > 
> > What's the output of xterm's TERM?
> > $ echo $TERM
> > 
> > ... Try:
> > $ TERM=xterm-color vim ...
> > 
> > - Gilboa
> > 
> 
> Well, thanks for the answer. Now, I found out vi=!vim. With vim I have
> syntax high lighting everywhere, with vi no. So, I'll make a alias.
> 
> Thanks,	
> 	Uwe
> 
It should have already been an alias by default.
--
=======================================================================
Don't ever slam a door; you might want to go back.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list