I set the VIM background as dark color on Mac since I set it up, but recently it's changed to white. After some investigation, I found that the color files are missing.
First of all, here is my ~/vimrc file looks like:
syntax on colorscheme delek set tabstop=2
I don't remember how I set up ‘delek’ theme. The background of ‘vim’ was changed to white recently, I did not realize that the ‘color’ files are missing. I thought it came with the ‘vim’ package.
I guess the recent Mac update removed those files.
Anyway, here is how to fix it.
Here are some commands FYI:
mkdir ~/.vim cd ~/.vim git clone https://github.com/flazz/vim-colorschemes.git cd vim-colorschemes cp -r colors ~/.vim/.
That will fix it.