How do I uninstall a plugin I installed with pathogen?
Asked
Active
Viewed 1.6k times
3 Answers
27
Locate your bundle folder which should be in:
Linux/Mac: ~/.vim/bundle
Windows XP: C:\Documents and Settings\(UserName)\vimfiles\bundle
Windows7: C:\Users\(UserName)\vimfiles\bundle
Delete the folder of the plugin you want to delete.
Note: If you chose a different directory for pathogen to install your plugin then locate that folder and delete the plugin folder accordingly.
Restart Vim
Tip: In Vim type :echo $HOME
to see your Vim home directory

Ingo Karkat
- 167,457
- 16
- 250
- 324

teknix
- 935
- 2
- 9
- 14
9
Pathogen installs plugins as git submodules. Therefore uninstalling a plugin is removing a git submodule. Taking 'vim-rvm' as example plugin.
git submodule deinit bundle/vim-rvm
git rm bundle/vim-rvm
git rm --cached bundle/vim-rvm
rm -rf .git/modules/bundle/vim-rvm

Alain M. Lafon
- 1,680
- 1
- 13
- 13
-
1This should be the accepted answer. Although, I don't think step #3 (`git rm --cached`) is necessary is it? – jhrr Sep 07 '16 at 10:15
-4
Do the reverse of what you did to install it.

romainl
- 186,200
- 21
- 280
- 313
-
37Execute a vimball by typing its name backwards, with your back to the keyboard? ;-) – DevSolar Dec 23 '12 at 02:25