Remove unused plugins after rcup

Running `rcup` should remove any plugins that are no longer in use. For
instance, we recently replaced `rename.vim` with `eunuch`. `rcup`
installs the new plugin but does not clean up `rename` from the plugins
directory. The addition of `PluginClean!` does this (without
confirmation).
This commit is contained in:
Derek Prior 2014-09-12 11:19:14 -04:00
parent 03dc6172f7
commit b4b9168b19
No known key found for this signature in database
GPG key ID: 60D9C7F1019704B4

View file

@ -5,4 +5,4 @@ touch $HOME/.psqlrc.local
if [ ! -e $HOME/.vim/bundle/Vundle.vim ]; then if [ ! -e $HOME/.vim/bundle/Vundle.vim ]; then
git clone https://github.com/gmarik/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim git clone https://github.com/gmarik/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
fi fi
vim -u $HOME/.vimrc.bundles +PluginInstall +qa vim -u $HOME/.vimrc.bundles +PluginInstall +PluginClean! +qa