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-10-10 11:06:34 -04:00
|
|
|
" Version: 0.9
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2014-03-18 14:50:51 -04:00
|
|
|
" Plugin Commands
|
|
|
|
com! -nargs=+ -bar Plugin
|
|
|
|
\ call vundle#config#bundle(<args>)
|
|
|
|
|
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete PluginInstall
|
|
|
|
\ call vundle#installer#new('!' == '<bang>', <q-args>)
|
|
|
|
|
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete PluginSearch
|
2014-03-26 03:54:31 -04:00
|
|
|
\ call vundle#scripts#all('!' == '<bang>', <q-args>)
|
2014-03-18 14:50:51 -04:00
|
|
|
|
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete Plugins
|
2014-03-26 03:54:31 -04:00
|
|
|
\ call vundle#scripts#all('!' == '<bang>', <q-args>)
|
2014-03-18 14:50:51 -04:00
|
|
|
|
|
|
|
com! -nargs=0 -bang PluginList
|
2014-03-26 03:54:31 -04:00
|
|
|
\ call vundle#installer#list('!' == '<bang>')
|
2014-03-18 14:50:51 -04:00
|
|
|
|
|
|
|
com! -nargs=? -bang PluginClean
|
|
|
|
\ call vundle#installer#clean('!' == '<bang>')
|
|
|
|
|
|
|
|
com! -nargs=0 PluginDocs
|
|
|
|
\ call vundle#installer#helptags(g:bundles)
|
|
|
|
|
|
|
|
" Aliases
|
|
|
|
com! PluginUpdate PluginInstall!
|
|
|
|
|
|
|
|
" Vundle Aliases
|
2014-03-26 03:54:31 -04:00
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete VundleInstall PluginList<bang> <args>
|
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete VundleSearch PluginSearch<bang> <args>
|
|
|
|
com! -nargs=? -bang VundleClean PluginClean<bang>
|
|
|
|
com! -nargs=0 VundleDocs PluginDocs
|
|
|
|
com! VundleUpdate PluginInstall!
|
2014-03-18 14:50:51 -04:00
|
|
|
|
|
|
|
" deprecated
|
2014-03-26 03:54:31 -04:00
|
|
|
com! -nargs=+ Bundle call vundle#config#bundle(<args>)
|
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall PluginInstall<bang> <args>
|
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleSearch PluginSearch<bang> <args>
|
|
|
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete Bundles Plugins<bang> <args>
|
|
|
|
com! -nargs=0 -bang BundleList PluginList<bang>
|
|
|
|
com! -nargs=? -bang BundleClean PluginClean<bang>
|
|
|
|
com! -nargs=0 BundleDocs PluginDocs
|
|
|
|
com! BundleUpdate PluginInstall!
|
2011-04-10 20:47:55 -04:00
|
|
|
|
2011-08-05 11:12:04 -04:00
|
|
|
if (has('signs'))
|
2011-08-05 17:41:50 -04:00
|
|
|
sign define Vu_error text=! texthl=Error
|
|
|
|
sign define Vu_active text=> texthl=Comment
|
|
|
|
sign define Vu_todate text=. texthl=Comment
|
2012-04-17 21:12:11 -04:00
|
|
|
sign define Vu_new text=+ texthl=Comment
|
|
|
|
sign define Vu_updated text=* texthl=Comment
|
2011-08-09 00:01:52 -04:00
|
|
|
sign define Vu_deleted text=- texthl=Comment
|
2012-04-20 11:06:18 -04:00
|
|
|
sign define Vu_helptags text=* texthl=Comment
|
2011-08-05 11:12:04 -04:00
|
|
|
endif
|
2011-08-04 17:33:30 -04:00
|
|
|
|
2011-04-10 20:47:55 -04:00
|
|
|
|
2011-04-23 03:23:26 -04:00
|
|
|
func! vundle#rc(...) abort
|
2011-11-18 01:36:14 -05:00
|
|
|
let g:bundle_dir = len(a:000) > 0 ? expand(a:1, 1) : expand('$HOME/.vim/bundle', 1)
|
2012-04-04 22:26:13 -04:00
|
|
|
let g:updated_bundles = []
|
2011-08-18 17:30:32 -04:00
|
|
|
let g:vundle_log = []
|
2014-03-26 03:54:31 -04:00
|
|
|
let g:vundle_changelog = ['Updated Plugins:']
|
2010-12-08 23:52:58 -05:00
|
|
|
call vundle#config#init()
|
2010-10-18 22:41:11 -04:00
|
|
|
endf
|