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?
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.
You can also use
if has("gui_macvim")
colorscheme solarized
endif
If you want solarized only for MacVim but not other graphical vim clients.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With