2010-12-09 00:19:17 -05:00
|
|
|
" Vundle is a shortcut for Vim Bundle and Is a simple plugin manager for Vim
|
|
|
|
" Author: gmarik
|
|
|
|
" HomePage: http://github.com/gmarik/vundle
|
2010-10-17 21:25:31 -04:00
|
|
|
" Readme: http://github.com/gmarik/vundle/blob/master/README.md
|
2011-04-26 19:46:19 -04:00
|
|
|
" Version: 0.8
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2011-05-31 20:01:06 -04:00
|
|
|
com! -nargs=+ Bundle
|
2011-04-10 21:50:22 -04:00
|
|
|
\ call vundle#config#bundle(<args>)
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2011-03-19 15:11:02 -04:00
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall
|
2011-04-10 21:50:22 -04:00
|
|
|
\ call vundle#installer#install('!' == '<bang>', <q-args>)
|
2011-03-19 15:11:02 -04:00
|
|
|
|
2011-03-19 17:46:02 -04:00
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete Bundles
|
2011-04-10 21:50:22 -04:00
|
|
|
\ call vundle#scripts#all('!'=='<bang>', <q-args>)
|
2011-03-19 15:46:35 -04:00
|
|
|
|
2011-03-06 16:12:37 -05:00
|
|
|
com! -nargs=? -bang BundleClean
|
2011-04-10 21:50:22 -04:00
|
|
|
\ call vundle#installer#clean('!' == '<bang>')
|
2011-03-06 16:12:37 -05:00
|
|
|
|
|
|
|
com! -nargs=0 BundleDocs
|
2011-04-10 21:50:22 -04:00
|
|
|
\ call vundle#installer#helptags(g:bundles)
|
2011-03-06 16:12:37 -05:00
|
|
|
|
2011-03-19 14:12:31 -04:00
|
|
|
" deprecated in favor of Bundles
|
|
|
|
com! -nargs=? -bang BundleSearch
|
2011-04-10 21:50:22 -04:00
|
|
|
\ call vundle#scripts#all('!' == '<bang>', <q-args>)
|
2011-03-19 03:54:35 -04:00
|
|
|
|
2011-04-10 20:47:55 -04:00
|
|
|
|
2011-04-15 19:21:14 -04:00
|
|
|
au Filetype vundle call vundle#scripts#setup_view()
|
|
|
|
au Syntax vim syn keyword vimCommand Bundle
|
2011-04-10 20:47:55 -04:00
|
|
|
|
|
|
|
|
2011-04-23 03:23:26 -04:00
|
|
|
func! vundle#rc(...) abort
|
|
|
|
let g:bundle_dir = len(a:000) > 0 ? expand(a:1) : expand('$HOME/.vim/bundle')
|
2010-12-08 23:52:58 -05:00
|
|
|
call vundle#config#init()
|
2010-10-18 22:41:11 -04:00
|
|
|
endf
|