Move UnBundle to .vimrc.bundles with a note

This commit is contained in:
John Tyree 2013-10-18 00:52:25 -04:00
parent 08bce95a1d
commit 41ede1b430
2 changed files with 16 additions and 10 deletions

10
.vimrc
View File

@ -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(<args>)
" }
" Initialize directories {
function! InitializeDirectories()
let parent = $HOME

View File

@ -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(<args>)
" }
" }
" Bundles {