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.

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
1  
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

1 Answer 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?

share|improve this answer

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.