tags:

views:

353

answers:

3

I'm sure this is a newbie question, but every time I've compiled/dl'ed a new version of vim for os x, running vim on the command-line opens up the gvim app. I just want to upgrade the console version (so I can, for example, have python compiled in to use omnicomplete).

+3  A: 

This may sound stupid, but are you copying the vim binary to /usr/bin? by default, the "vim" path is /usr/bin/vim. If you compile from source, you'll likely need to either copy the vim binary to /usr/bin/vim (thus overwriting the original vim), or launch the compiled version via absolute path (eg. ~/vim-checkout/build/vim).

that's just a guess, however. I can't see it being anything more than that.

cranley
+5  A: 

You can also use MacPorts to handle the installation for you. Once you've installed it, run the /opt/local/bin/ binary.

Dana the Sane
it will be /opt/local/bin if you use a default installation of MacPorts
Dave Verwer
+1  A: 

Can also symlink your new binary to /usr/local/bin/

camflan