vim syntax highlighting

Christoph Georgi christoph.georgi at web.de
Thu Aug 25 21:26:15 UTC 2005


thanks for all the tips and tricks!

another question on vim's highlighting arose concerning searching: when
you search vim highlights all the results in the file. but after i found
what i was searching for, i'd like it to stop highlighting all the
results.. how would one go about doing that?

thanks,
christoph


Magnus Therning wrote:
> On Thu, Aug 25, 2005 at 10:52:21AM +0200, Christoph Georgi wrote:
> 
>>Magnus Therning wrote:
>>
>>>
>>>I have the following in my ~/.vimrc:
>>>
>>> if &t_Co > 2 || has("gui_running")
>>>     syntax on
>>>     set hlsearch
>>>     if has("gui_running")
>>>         colorscheme elflord
>>>     else
>>>         colorscheme murphy
>>>     endif
>>> endif
>>>
>>>/M
>>>
>>>
>>
>>thanks.. it's working out, however, it gives me a rather odd color
>>scheme in the x terminal.. (black background,..) i guess i have to play
>>around a bit with it :)
> 
> 
> Black, odd colour? Surely you are joking! ;-)
> 
> /M
> 
> 

-- 


Christoph Georgi
-----------------------------
email.  christoph.georgi at web.de
fon.	+49 (0)160 9790 3488

registered linux user #380268
ubuntu 5.04 (ubuntu.com)




More information about the ubuntu-users mailing list