vim syntax highlighting

Magnus Therning magnus at therning.org
Fri Aug 26 06:44:12 UTC 2005


On Thu, Aug 25, 2005 at 07:50:12PM -0400, markthecarp 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
>> 
>
>Oh man thanks! I've wondered about how to permenantly set gvim's color
>scheme for years, just never looked into it.

You could also put

  colorscheme elflord

in your ~/.gvimrc.

/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.

If you want to do buzzword oriented programming you must use a
strongly hyped language.
     -- author unknown (to me, not to him)
-------------- 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/20050826/c46acdd0/attachment.sig>


More information about the ubuntu-users mailing list