
I achieved this by amending the following line in my. If you are still seeing the prior version, it’s probable you will need to amend your settings so that your system looks in the correct location for the most up to date version. Now the latest Vim should be installed and configured.
#MACVIM FLAGS INSTALL#
Vim will be configured now so we just need to make and install it: configure -with-features=huge -enable-pythoninterp You therefore may not need the -enable-pythoninterp part: I’m choosing the largest feature set (no reason not to on modern systems) and I also wanted python support enabled – one of the plugins I use depends upon that. Now we will use Mercurial to pull down the latest Vim from source and copy it into a folder called ‘vim’ in the user root: Sudo rm -rf vim (you’ll need to enter your password) If you have failed to install previously you may want to remove any existing Vim folders: First we want to move into the user root: OK, assuming we are in Terminal/iTerm now, let’s do this step-by-step.

You can fire that off from Terminal too:įollow the install through and then we’re ready to take a shot at this. I would also recommend ensuring you have the xcode command line tools installed. We have Homebrew now so that’s easy from the Terminal: You’ll also need Mercurial, as that’s the version control system that the Vim source is kept in. In case you don’t have Homebrew installed, you can paste this one-liner into your Terminal:

That is the most hassle free way I have come across to get the latest and greatest Vim running regardless of the machine setup!įirst of all, you’ll need to have the Homebrew package manager installed on your system. Amend that to the path you install MacVim.

zshrc file: alias vim="/Users/benfrain/MacVim/MacVim.app/Contents/MacOS/Vim'.
#MACVIM FLAGS DOWNLOAD#
Perhaps the simplest way to get the latest version working is to download the latest MacVim and then enter an alias in your. However, when I attempted this it didn’t work (various permissions issues). Most people suggested using Homebrew and the command brew install vim. Since writing this post a couple of people have pointed out other ways to get the latest Vim installed.
