vim syntax highlighting

Magnus Therning magnus at therning.org
Thu Aug 25 18:17:18 UTC 2005


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

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Artificial Intelligence stands no chance against Natural Stupidity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050825/339563eb/attachment.sig>


More information about the ubuntu-users mailing list