Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
334 views
in Technique[技术] by (71.8m points)

macvim - VIM Color scheme not loading by default

When I do

:colorscheme vilight 

it loads the color scheme fine.

So I added

colorscheme vilight

to my .vimrc but its not loading it on start. Am I missing something?

Also in my config

set background=dark 
syntax on
colorscheme vilight 
set lines=60 columns=200
question from:https://stackoverflow.com/questions/2637929/vim-color-scheme-not-loading-by-default

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Are you using gvim? It is possible that your .gvimrc or the system's gvimrc file is overriding the colorscheme selection from your .vimrc.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...