Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is a good step-by-step guide on installing the latest version of Vim on a Mac Mini with Mountain Lion?

I would prefer to use Homebrew but it's not necessary. And, I would like for it to be as feature rich as MacVim. I thought about adding the options manually but, since I have no idea what Vim comes with and what should be added, I decided to leave it to the experts.

share|improve this question

migrated from stackoverflow.com Jan 5 '13 at 16:45

This question came from our site for professional and enthusiast programmers.

    
It's OK on Stack Overflow, because Vim is one of the most commonly used programming tools in the world. The question isn't a good one though, because you could have researched the problem a bit more and found the same answer as given, that MacVim is the appropriate choice. It's Vim for the Mac, and functions at the command-line just as well as it does using its GUI, all from the same binary. That's standard for Vim on Linux also -- it's the same binary, just called a different name, which it senses at startup and uses its GUI mode. –  Greg Jan 5 '13 at 16:47
    
@Greg OK, thanks for your info, I wasn't sure. :) I've figured out that using brew install macvim --custom-icons --override-system-vim --with-python3 fixes my problem. :) –  Greduan Jan 5 '13 at 16:50

2 Answers 2

up vote 2 down vote accepted

Just download the latest Macvim snapshot, anything else is overkill.

MacVim comes with a mvim script for use at the command line. Place it somewhere in your $PATH and you can do $ mvim -v filename to start MacVim's vim executable right there, in your shell.

share|improve this answer
    
Using mvim launches MacVim, that doesn't workout if you're going to use tmux or something similar. :/ –  Greduan Dec 26 '12 at 11:52
    
Did you read my answer? I've been using MacVim's CLI executable that way since more than two years. That's $ mvim -v, not $ mvim. –  romainl Dec 26 '12 at 13:44
    
OH! Stupid stupid! Me of course. Thanks! That will work out perfectly! –  Greduan Dec 26 '12 at 14:10

You can also just "brew install vim" to install vim stable 7.3.762. This is normal, console vim, not "MacVim".

share|improve this answer
    
I see, I was thinking about that. Although I remember reading somewhere that it's not a rich version. Is this statement true? –  Greduan Dec 27 '12 at 20:39
    
It's the latest tagged Vim from Google Code. It's the "huge" features version of Vim. See here for more info: github.com/mxcl/homebrew/blob/… –  Doug Dec 27 '12 at 20:50
    
I see, thanks! I ran brew install macvim --override-system-vim before this. You think that running this will mess it up? –  Greduan Dec 27 '12 at 21:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.