Reputation: 22044
Hey guys I recently moved to macvim, It's great, when I add the theme: torth in the .vimrc. I found the color vi totally changed, It's either the way of rails plugin, or the torth, like mixed color.
so how to set the startup color only affect macvim, I'm familiar with the vi's color with rails plug in, I don't want to mess it up.
BTW I how to toggle off the top tool bar in start up, It would be great,if someone can show me where to find the whole setup instruction.
Thanks
Upvotes: 0
Views: 3130
Reputation: 975
MacVim honors "gvim" settings. GVim being the Gnome Vim gui variant that is rather prevalent on Linux.
This means that you should perhaps set overall settings specific to your user in "~/.vimrc", and override the ones you want in MacVim specifically by defining them in "~/.gvimrc".
It's up to you to decide what organizational method suits you best.
Upvotes: 2
Reputation: 47311
You can copy .vimrc
to .vimrc.mac
Change your theme color to .vimrc.mac
,
and make an command alias of your macvim to read that vim config, like
alias='macvim -u ~/.vimrc.mac' <-- please note this syntax is using bash
<-- and macvim support -u like vim
Upvotes: 1