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-03-19 17:51:34 -04:00
|
|
|
" Version: 0.7
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2011-03-06 16:12:37 -05: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
|
|
|
|
|
|
|
|
2010-10-31 23:02:20 -04:00
|
|
|
func! vundle#rc()
|
2010-12-08 22:26:38 -05:00
|
|
|
let g:bundle_dir = 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
|