BundleClean uses new UI as well

- TODO: refactor: extract common code
This commit is contained in:
gmarik
2011-08-08 23:01:52 -05:00
parent e8c962156c
commit ec8b56e7ae
3 changed files with 42 additions and 4 deletions

View File

@@ -29,10 +29,13 @@ func! vundle#scripts#setup_view() abort
syn keyword vimCommand Bundle
com! -buffer -bang -nargs=1 DeleteBundle call vundle#installer#delete('!' == '<bang>', <args>)
com! -buffer -bang -nargs=? InstallBundle call vundle#installer#install('!' == '<bang>', <q-args>)
com! -buffer -nargs=0 VundleLog call s:view_log()
nnoremap <buffer> q :silent bd!<CR>
nnoremap <buffer> d :exec 'Delete'.getline('.')<CR>
nnoremap <buffer> i :exec 'Install'.getline('.')<CR>
nnoremap <buffer> I :exec 'Install'.substitute(getline('.'), '^Bundle ', 'Bundle! ', '')<CR>