The best way to make MacVim's vim (console, not mvim) the default instead of Mac OS X's vim?
Problem
I installed MacVim using homebrew. ( ). If I call from , it opens the GUI MacVim. I would like to make call the MacVim's Vim ( ) instead of the system's ( ) vim. Which is the best way to do it? I know I can do an 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 , using the is the elegant way to accomplish what I need.
Error Output
brew install macvim
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: The best way to make MacVim's vim (console, not mvim) the default instead of Mac OS X's vim?
I believe this is what you're looking for: This will create vim, vimdiff, etc. symlinks to mvim in /usr/local/bin/vim, and as long as /usr/local/bin is before /usr/bin in your PATH, you'll get the results you're looking for. Earlier versions of brew used the switch which was deprecated.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix