VIM Color scheme not loading by default

dMix picture dMix · Apr 14, 2010 · Viewed 34.1k times · Source

When I do

:colorscheme vilight 

it loads the color scheme fine.

So I added

colorscheme vilight

to my .vimrc but its not loading it on start. Am I missing something?

Also in my config

set background=dark 
syntax on
colorscheme vilight 
set lines=60 columns=200

Answer

Geoff Reedy picture Geoff Reedy · Apr 14, 2010

Are you using gvim? It is possible that your .gvimrc or the system's gvimrc file is overriding the colorscheme selection from your .vimrc.