

You should see "MacOS X (unix) version" in the first couple of lines of output. If you want to check that you're actually running MacVim, run vi like this: $ vi -version We'll also need to tell Bash to clear its cache of where all your programs live, so that it'll search $PATH for vi again and find the new script, instead of the file in /usr/bin/vi: $ type vi That way: $ ln -s /usr/local/bin/mvim /usr/local/bin/vim Let's setup a link for vim too, in case you're ever tempted to run it Assuming you put the mvim script in /usr/local/bin, this should do it (though you might need sudo, depending on how your Mac is setup): $ ln -s /usr/local/bin/mvim /usr/local/bin/vi To get the vi command to run MacVim without the GUI we can make a symlink to the mvim script, and call it vi.
#Opening macvim through terminal how to
You can get advice on how to do that by typing :help mvim inside MacVim they recommend putting the script in /usr/local/bin. If you haven't already done so, install the mvim script. MacVim's disk image also contains a script called mvim that you can put in a folder in your $PATH so that you can launch that same binary from the command line. When you run MacVim using the application icon it runs a binary inside your Applications folder.

If MacVim isn't already installed, go and download it now. MacVim (which includes Ruby support) normally runs with a GUI, but you can run it in a terminal when you type vi if you prefer. When Apple compiled it they didn't link it against Ruby, which means that you can't use /usr/bin/vi with any Ruby based plugins. A recent version of Vim comes with every copy of Mac OS X.
