mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 07:27:11 +00:00
Move UnBundle to .vimrc.bundles with a note
This commit is contained in:
parent
08bce95a1d
commit
41ede1b430
10
.vimrc
10
.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(<args>)
|
||||
" }
|
||||
|
||||
" Initialize directories {
|
||||
function! InitializeDirectories()
|
||||
let parent = $HOME
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user