I tried to install YouCompleteMe on Mac for vim, but I\'ve been using the system vim which is version 7.3. I tried to update my vim using homebrew by typing brew install v
Rather than reinstalling vim you can move your current vim to vim73 (or something similar).
First check if /usr/local/bin
is present in PATH
environment variable. Doing echo $PATH
on your terminal should do that.
Install vim with homebrew if you haven't already.
brew install vim
Then move your current vim installation.
mv /usr/bin/vim /usr/bin/vim73
Run which vim
to confirm. It should say /usr/local/bin/vim
.