I installed vim on my Mac by using the git clone command:
cd vim/src make However now I want to remove it and re-install vim via homebrew.
Could any expert tell me how to remove it on my Mac?
Thanks.
42 Answers
Since you've compiled from souce, you should just navigate to the source directory and run the make uninstall command, since you've compiled from source using make. Something like:
make VIMRUNTIMEDIR=/usr/share/vim/vim73 make uninstall should work.
More details on how to uninstall using make here:
EDIT: From the above link,
You can manually remove vim by running make -n install to find out the steps used to install vim and manually remove it.
$ make doesn't install Vim, it builds it without adding, removing, or changing anything on your system.
This means that you can install Vim with homebrew or any other method without caring about the Vim you built from source. And that you can safely delete the Vim source.
2