Re: strange behavior of vim syntax highlighting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux