Hi!

On Thu, Jul 7, 2011 at 7:48 PM, David Patrick Henderson
<dp.chaoswe...@gmail.com> wrote:
> On 07 Jul 2011, at 10:40, Eric Weir wrote:
>
>> I've coped the scheme from the runtime folder to ~/.vim/colors. I don't want 
>> to change the copy in the runtime folder. How do I get the copy in 
>> ~/.vim/colors to control?
>
> Easiest way is to rename it and set up your .gvimrc with at least one setting:
>
> :color scheme name_of_colorscheme
>
> .gvimrc is generally where one inserts configuration directives that apply 
> only to gui versions of vim: like MacVim or gvim on unix/linux systems.

I use the following approach to customize a colorscheme. Create a new,
empty file in "~/.vim/colors/" and add something like the following
(here a "zellner_mod.vim" modifying the zellner colorscheme):

    runtime colors/zellner.vim

    let g:colors_name = "zellner_mod"

    hi LineNr       guibg=grey
    hi NonText      guibg=grey      guifg=darkgreen
    hi StatusLine   guibg=grey48

Then use :colorscheme zellner_mod to load it.

Best regards,
Niklas

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to