diff --git a/.vimrc b/.vimrc index 44a9a26..1224086 100644 --- a/.vimrc +++ b/.vimrc @@ -793,16 +793,6 @@ " Functions { - " UnBundle { - function! UnBundle(arg, ...) - let bundle = vundle#config#init_bundle(a:arg, a:000) - call filter(g:bundles, 'v:val["name_spec"] != "' . a:arg . '"') - endfunction - - com! -nargs=+ UnBundle - \ call UnBundle() - " } - " Initialize directories { function! InitializeDirectories() let parent = $HOME diff --git a/.vimrc.bundles b/.vimrc.bundles index 61048f0..e7d0f8d 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -12,6 +12,12 @@ " While much of it is beneficial for general use, I would " recommend picking out the parts you want and understand. " +" This file imports the various plugins of spf13. If you +" wish to alter which groups are imported, see vimrc.before. +" If you wish to add or remove individual bundles, create +" ~/.vimrc.bundles.local and `Bundle` or `UnBundle` as needed +" from there. +" " You can find me at http://spf13.com " } @@ -53,6 +59,16 @@ call vundle#rc() " } + " Add an UnBundle command { + function! UnBundle(arg, ...) + let bundle = vundle#config#init_bundle(a:arg, a:000) + call filter(g:bundles, 'v:val["name_spec"] != "' . a:arg . '"') + endfunction + + com! -nargs=+ UnBundle + \ call UnBundle() + " } + " } " Bundles {