Browse Source

initial attempt at BundleCommand

pull/97/head
Scott Bronson 14 years ago
parent
commit
7681eb5611
2 changed files with 7 additions and 0 deletions
  1. +3
    -0
      autoload/vundle.vim
  2. +4
    -0
      autoload/vundle/installer.vim

+ 3
- 0
autoload/vundle.vim View File

@ -7,6 +7,9 @@
com! -nargs=+ Bundle
\ call vundle#config#bundle(<args>)
com! -nargs=1 BundleCommand
\ call vundle#installer#command(<args>)
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall
\ call vundle#installer#new('!' == '<bang>', <q-args>)


+ 4
- 0
autoload/vundle/installer.vim View File

@ -11,6 +11,10 @@ func! vundle#installer#new(bang, ...) abort
call vundle#config#require(bundles)
endf
func! vundle#installer#command(cmd)
silent execute '!cd ~/.vim/bundle && ' . a:cmd
redraw!
endf
func! s:process(bang, cmd)
let msg = ''


Loading…
Cancel
Save