I want to use solarize for macvim, but I want the default for when I am in vi. I assume I put a dew lines of code in my .vimrc... but what do I put in there?
Asked
Active
Viewed 4,100 times
2 Answers
22
MacVim uses the ~/.gvimrc, so you could set it up in the ~/.gvimrc file. Or you could use has("gui_running")
:
if has("gui_running")
colorscheme solarized
endif
Both versions should work.

ckruse
- 9,642
- 1
- 25
- 25
6
You can also use
if has("gui_macvim")
colorscheme solarized
endif
If you want solarized only for MacVim but not other graphical vim clients.

jamesnvc
- 1,023
- 6
- 13