strange behavior of vim syntax highlighting

Uwe Kiewel ml at kiewel-online.de
Tue Sep 2 13:42:27 UTC 2008


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




More information about the fedora-list mailing list