문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top