Question

I installed vim with:

brew install vim --override-system-vi

I also installed macvim using:

brew install macvim

However, terminal vim uses 7.4.52 and macvim uses 7.4.22. Any way around this?

I've uninstalled and reinstalled many times, but I must be doing it wrong...

which vim returns /usr/local/bin/vim

which mvim returns /usr/local/bin/mvim

Any help would be greatly appreciated.

Thnx!

Was it helpful?

Solution

You only need to install macvim: it runs both as a GUI and in the terminal.

I don't know where the confusion comes from but neither gvim nor macvim are frontends for a separate vim. They are vim.

OTHER TIPS

you can rename your system vim, then vim will be the mac vim

You've installed two different pieces of software..but you only want to use one? If so, then just alias your macvim in your shell; for example:

alias vim="/Applications/MacVim.app/Contents/MacOS/Vim"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top