On Monday 15 March 2010 02:39:37 pm Matt Wozniski wrote:

> On Mon, Mar 15, 2010 at 3:37 PM, Matt Wozniski <m...@drexel.edu> 
wrote:
> > On Mon, Mar 15, 2010 at 2:53 PM, Ben Kim <b...@tamu.edu> 
wrote:
> >> Dear list,
> >>
> >> CentOS, vim7.0
> >>
> >> I wanted to use my own color scheme and made it
> >> /usr/share/vim/vim70/colors/default.vim. But vim does not
> >> seem to use it when I open a file, or use vimdiff.
> >>
> >> I have to do :colors default explicitly.
> >>
> >> What color scheme, then, is being used? I even removed
> >> everything under /usr/share/vim/vim70/colors/ leaving only
> >> the default.vim, but it didn't make any difference.
> >>
> >> Thanks!
> >
> > The default colorscheme is hardcoded into vim when it is
> > built, in syntax.c
> 
> In retrospect, though, that answer didn't really address what
>  you were trying to do.  If all you want is for vim to use
>  your colorscheme when it starts up, the normal way to do it
>  is to put that scheme in ~/.vim/colors/foo.vim, and then to
>  add
> 
>     colorscheme foo
> 
> to your ~/.vimrc

do not swim upstream, spit into the wind, or attempt to create a 
colorscheme named 'default'

words of wisdom,

sc

-- 
You received this message from the "vim_use" 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