101
49
I installed MacVim using homebrew. (brew install macvim
). If I call mvim
from cmd
, it opens the GUI MacVim.
I would like to make vim
call the MacVim's Vim (/Users/user/Applications/MacVim.app/Contents/MacOS/Vim
) instead of the system's (/usr/bin/vim
) vim. Which is the best way to do it? I know I can do an alias vim="/Users/user/Applications/MacVim.app/Contents/MacOS/Vim"
but I don't know if it's the best approach...
EDIT: Guys, thank for all your answers, but indeed, since I'm already using homebrew
, using the --override-system-vim
is the elegant way to accomplish what I need.
The vim that ships with OS X also doesn't support the freakin' clipboard. – Thanatos – 2017-02-23T23:41:25.217
What's the difference between MacVim console vim and just regular vim in Terminal? – hobbes3 – 2012-03-24T17:38:40.760
2@hobbes3, the vim that ships with osx does not have ruby or python support compiled in. MacVim's vim does. Which is necessary if you want to use plugins like Command-T – asgeo1 – 2012-03-31T03:10:02.157