问题
In my case I do use the solarized color scheme. Until now I used to override certain color properties in my vimrc. But the number of adjustments seems to grow over time. Especially I tend to adjust colors used for UI elements, e.g. line numbers, highlighted search, highlight groups, etc. Now I asked myself if it makes sense to maintain color settings in my vimrc at all or if I should rather fork the color scheme and merge my changes directly with the color scheme file?
回答1:
Don't pollute vimrc with specific colour settings.
If your only concern is Solarized scheme, that's easy.
Solarized is actually a repo under bundle
if you use PathOgen. So, for your question, just go to Solarized repo, create a branch say "custom" and switch to it, then make any customization as you like.
Another method is to put Solarized directly into .vim/colors
as I do. I made version control for whole .vim
folder with some ignorance. In this case, you can create branch as well, with a big more sweat.
来源:https://stackoverflow.com/questions/15730204/adjust-colors-in-vimrc-or-rather-in-the-color-scheme-itself