use BundleSearch
- Bundles is not a good name for search - BundleSearch undeprecated - TODO: repurpose :Bundles cmd
This commit is contained in:
parent
4167860539
commit
4218a57934
@ -10,6 +10,9 @@ com! -nargs=+ Bundle
|
||||
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall
|
||||
\ call vundle#installer#new('!' == '<bang>', <q-args>)
|
||||
|
||||
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleSearch
|
||||
\ call vundle#scripts#all('!'=='<bang>', <q-args>)
|
||||
|
||||
com! -nargs=? -bang -complete=custom,vundle#scripts#complete Bundles
|
||||
\ call vundle#scripts#all('!'=='<bang>', <q-args>)
|
||||
|
||||
@ -22,10 +25,6 @@ com! -nargs=? -bang BundleClean
|
||||
com! -nargs=0 BundleDocs
|
||||
\ call vundle#installer#helptags(g:bundles)
|
||||
|
||||
" deprecated in favor of Bundles
|
||||
com! -nargs=? -bang BundleSearch
|
||||
\ call vundle#scripts#all('!' == '<bang>', <q-args>)
|
||||
|
||||
|
||||
au Filetype vundle call vundle#scripts#setup_view()
|
||||
au Syntax vim syn keyword vimCommand Bundle
|
||||
|
@ -14,7 +14,7 @@ func! vundle#scripts#all(bang, ...)
|
||||
endf
|
||||
|
||||
func! vundle#scripts#reload() abort
|
||||
silent exec ':Bundles! '.(exists('b:match') ? b:match : '')
|
||||
silent exec ':BundleSearch! '.(exists('b:match') ? b:match : '')
|
||||
redraw!
|
||||
endf
|
||||
|
||||
@ -40,7 +40,7 @@ func! vundle#scripts#setup_view() abort
|
||||
|
||||
nnoremap <buffer> c :BundleClean<CR>
|
||||
nnoremap <buffer> C :BundleClean!<CR>
|
||||
nnoremap <buffer> r :Bundles
|
||||
nnoremap <buffer> r :BundleSearch
|
||||
nnoremap <buffer> R :call vundle#scripts#reload()<CR>
|
||||
endf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user