0

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?

3
  • 1
    What is confusing about it? vim filename from a terminal, just as on Linux or etc..
    – geekosaur
    Apr 13, 2012 at 2:09
  • I'm sort of new to programming...
    – m73
    Apr 13, 2012 at 2:11
  • I don't understand what you're asking.
    – geekosaur
    Apr 13, 2012 at 2:22

1 Answer 1

1
  • 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 Terminal.app 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?

You must log in to answer this question.

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