Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstalling Plugin in Vim

After installing many plugins in my ~/.vim folder, I feel I no more understand the contents of that folder and I don't feel enough confidence about deleting the plugin from ~/.vim/plugin to uninstall a plugin. What if there are related files in other directories? What if the documentation was already registered (:helptags), yet the plugin will be removed? Is there any procedure to uninstall vim-plugins? I don't really want my Vim to end up being as messy as my Windows.

like image 360
Rafid Avatar asked Jan 16 '11 11:01

Rafid


People also ask

How do I uninstall plugin?

Go to Plugins. Go to Installed Plugins. Click Deactivate for the plugin you want to uninstall (you must deactivate it before you can delete it).

How do I uninstall Vundle plugin?

Uninstall plugins vimrc file to completely uninstall the plugin from the system. Another method for uninstalling is to remove the plugin line in . vimrc first, then run command :PluginClean . This command will remove all plugins that no longered present in your .

How do I remove a plugin folder?

Navigate to /public_html/wp-content/plugins/ and look for the plugin's folder. Delete it and any remaining files in there with it. Some plugins may add multiple folders, not always clearly named. Be careful when deleting anything you're not sure of, and make sure you back up your site first.


2 Answers

If you want to uninstall a plugin which was installed into ~/.vim manually, you should redownload its archive, list its content and manually remove everything, then run :helptags again (this will remove missing tags). If plugin was installed from a vimball, see documentation for :RmVimball. Vimball archives normally have .vba or .vba.gz extensions. In case you don't remember vimball file name, it is contained into ~/.vim/.VimballRecord file.

In order to avoid this problem in the future, try vim-addon-manager plugin. Like pathogen, it puts each plugin into separate directory, but is also capable of downloading, installing and updating them.

like image 184
ZyX Avatar answered Oct 12 '22 03:10

ZyX


To manage easily plugins in vim use pathogen and this awesome article --> come home to vim

like image 23
SergioAraujo Avatar answered Oct 12 '22 03:10

SergioAraujo