Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 13 down vote accepted

Add

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
1  
Wow this is one of the most useful links I've seen in a while thanks. –  faceless1_14 Aug 20 '09 at 14:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.