Vundle, the plug-in manager for Vim
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.3 KiB

13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
12 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
  1. " Vundle is a shortcut for Vim Bundle and Is a simple plugin manager for Vim
  2. " Author: gmarik
  3. " HomePage: http://github.com/gmarik/vundle
  4. " Readme: http://github.com/gmarik/vundle/blob/master/README.md
  5. " Version: 0.9
  6. com! -nargs=+ Bundle
  7. \ call vundle#config#bundle(<args>)
  8. com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall
  9. \ call vundle#installer#new('!' == '<bang>', <q-args>)
  10. com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleSearch
  11. \ call vundle#scripts#all('!'=='<bang>', <q-args>)
  12. com! -nargs=? -bang -complete=custom,vundle#scripts#complete Bundles
  13. \ call vundle#scripts#all('!'=='<bang>', <q-args>)
  14. com! -nargs=0 -bang BundleList
  15. \ call vundle#installer#list('!'=='<bang>')
  16. com! -nargs=? -bang BundleClean
  17. \ call vundle#installer#clean('!' == '<bang>')
  18. com! -nargs=0 BundleDocs
  19. \ call vundle#installer#helptags(g:bundles)
  20. if (has('signs'))
  21. sign define Vu_error text=! texthl=Error
  22. sign define Vu_active text=> texthl=Comment
  23. sign define Vu_todate text=. texthl=Comment
  24. sign define Vu_updated text=+ texthl=Comment
  25. sign define Vu_deleted text=- texthl=Comment
  26. endif
  27. func! vundle#rc(...) abort
  28. let g:bundle_dir = len(a:000) > 0 ? expand(a:1, 1) : expand('$HOME/.vim/bundle', 1)
  29. let g:vundle_log = []
  30. call vundle#config#init()
  31. endf