Home » Questions » Computers [ Ask a new question ]

How do you change the default colorscheme in gvim?

How do you change the default colorscheme in gvim?

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

Asked by: Guest | Views: 347
Total answers/comments: 2
bert [Entry]

"Add

colorscheme pablo

to your _vimrc file."
bert [Entry]

"For me it was necessary to do:

""~\_vimrc

if has('gui_running')
au VimEnter * colorscheme desert
endif

The if has('gui_running') makes sure I keep the default color settings if I'm running vim in Cmder (conemu).
My setup may be funny though, I have vim installed by scoop (a package manager for windows I recommend you check out if you haven't heard of it)."