I am using vim and MacVim. I have a 256-colour colorscheme which I like for my MacVim, but if I load it into regular vim, it obviously does not work (I get blinkies instead). I would like to be able to use the same vim config on all my systems, so:
Is there a way to check for palette size in .vimrc and set one of the two colorschemes accordingly? If that is not feasible, then checking for MacVim vs. vim would also be okay.