1

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.

2
  • 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.
    – TTM
    Commented Jan 5, 2013 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
    Commented Jan 5, 2013 at 16:50

2 Answers 2

2

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.

3
  • Using mvim launches MacVim, that doesn't workout if you're going to use tmux or something similar. :/
    – greduan
    Commented Dec 26, 2012 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
    Commented Dec 26, 2012 at 13:44
  • OH! Stupid stupid! Me of course. Thanks! That will work out perfectly!
    – greduan
    Commented Dec 26, 2012 at 14:10
1

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

3
  • I see, I was thinking about that. Although I remember reading somewhere that it's not a rich version. Is this statement true?
    – greduan
    Commented Dec 27, 2012 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
    Commented Dec 27, 2012 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
    Commented Dec 27, 2012 at 21:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .