Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to install VIM with homebrew doing "brew install vim" and it told me that there was no formula for VIM however the terminal told me

Apple distributes vim with OS X, you can find it in /usr/bin.

However, I can't figure out how to get this install working. Can anyone explain?

share|improve this question
What is confusing about it? vim filename from a terminal, just as on Linux or etc.. – geekosaur Apr 13 '12 at 2:09
I'm sort of new to programming... – m73 Apr 13 '12 at 2:11
I don't understand what you're asking. – geekosaur Apr 13 '12 at 2:22
  • Homebrew's answer is quite elegant and straightforward, IMO.

    There is no homebrew formula for "Vim" but there is one for "MacVim" so you have to do $ brew install macvim instead.

  • Vim is already available on your Mac, in just type $ vim filename and hit <enter>. This version is a bit outdated and built with a limited feature set but, since you are new to Vim and programming, it's more than enough to get started.

    Do $ vimtutor a couple of times to learn the basics before doing anything else with Vim.

  • Since you are new to programming, I'd suggest you do things progressively. Instead of using a package manager and the CLI right from the start why don't you simply download MacVim and work your way up from there?

share|improve this answer

You must log in to answer this question.

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