I'm a Mac Noob but generally a power Linux user. My new job handed me a fresh MacBook Pro with Lion installed.
I installed MacVim successfully using homebrew. I'd love for it to be the default app for opening certain file types. (.rb, .haml)
But when I attempt to assign MacVim as the default app in the Finder, the app is unheard of. A Spotlight search on MacVim turns up only the original .tgz file.
Yet I can run it from a command line (mvim) and pin it to the dock and run it from there.
I'm guessing something called an "alias" needs to be created, and I get the impression this is something different from a symbolic link. Indeed I have a symbolic link in my ~/Applications folder for MacVim, created there by homebrew.
How can I somehow bless MacVim to be an installed app and assign it to open certain file extensions?
brew link macvim
. Ah wait... I also had a problem that somehow my link didn't work although it was there. You canunlink
it first andlink
again and if that does not work, reinstall it.