Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In GVIM for Windows I know you are supposed to be able to add something to the $VIM/_vimrc file in order to customize the start up and I have managed how to figure out a few neat tricks with that but I can't figure out how to change the default color settings. Right now every time I start vim, I have to type

:color pablo

before I can do any work (black on white bothers me when coding in anything but Java). I feel like this is 12 extra keystrokes I shouldn't have to be making every time I start vim. Is there a way I can have vim start using this setting by default?

share|improve this question
up vote 15 down vote accepted


colorscheme pablo

to your _vimrc file.

share|improve this answer
Thanks for responding so quickly. I couldn't find it anywhere in the help documents but maybe I wasn't looking hard enough this is a huge burden of my OCD mind. – faceless1_14 Aug 20 '09 at 14:44

nagnatron's answer is right, but if you need a little more information ...

"A Byte of Vim" is a book which aims to help you to learn how to use the Vim editor, even if all you know is how to use the computer keyboard.

share|improve this answer
Generally it is best to add to an existing answer as a comment rahter than as a separate answer. – EBGreen Aug 20 '09 at 14:38
Wow this is one of the most useful links I've seen in a while thanks. – faceless1_14 Aug 20 '09 at 14:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .