How to uninstall vim on mac?

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.

4

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

2

$ 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like