Using the correct version of vim


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.


Best 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.