It seems to be due to a problem with vim (I'm not sure what), introduced between 7.4.1589 and 7.4.1655. If you're using OS X / Homebrew, a temporary solution may be to brew switch vim 7.4.1589
(assuming you still have the local copy of that version downloaded, you can check with brew info vim
).
If you don't have that version listed under brew info vim
, you can install it directly from the commit's URL:
brew install https://raw.githubusercontent.com/Homebrew/homebrew/7746a5509b3fb10216f1d40ab639398e8d0c5e4c/Library/Formula/vim.rb
Alternatively, you can do it locally by searching the homebrew git logs for the commit you need and reverting the vim formula to that commit:
git -C "$(brew --repository)" log --grep='vim 7.4.1589' # Using the commit from the above command git -C "$(brew --repository)" checkout 7746a5509b3fb10216f1d40ab639398e8d0c5e4c -- Library/Formula/vim.rb # Ensure the version number looks correct head <"$(brew --repository)"/Library/Formula/vim.rb # Install as usual brew install vim # Later, when you're ready to go back to the latest version git -C "$(brew --repository)" checkout HEAD .
You can also leave out all the -C "$(brew --repository)"
stuff if you just cd "$(brew --repository)"
at the beginning.