|
|
|
@ -74,6 +74,12 @@ in order to install/search [all available vim scripts] |
|
|
|
Bundle 'git://git.wincent.com/command-t.git' |
|
|
|
" ... |
|
|
|
|
|
|
|
" Slow scripts which will not be bound and loaded at Vim startup. |
|
|
|
" When needed, you can manually bind them via `BundleBind!` command, |
|
|
|
" run `:help |Bundle-option-bind|` and `:help |BundleBind!|` for more |
|
|
|
" details. |
|
|
|
Bundle 'c.vim', {'bind': 0, 'tags': ['c']} |
|
|
|
|
|
|
|
filetype plugin indent on " required! |
|
|
|
" or |
|
|
|
" filetype plugin on " to not use the indentation settings set by plugins |
|
|
|
@ -108,6 +114,23 @@ equals full uri > |
|
|
|
|
|
|
|
NOTE: Vundle defaults to http:// protocol for the short URIs |
|
|
|
|
|
|
|
*Bundle-option-bind* |
|
|
|
If some of your scripts will slow down your Vim startup, and you don't really |
|
|
|
often need them, you have an option to disable bind them at Vim startup: > |
|
|
|
|
|
|
|
Bundle 'c.vim', {'bind': 0} |
|
|
|
|
|
|
|
When you need, these scripts can be bound manually via |BundleBind!| command. |
|
|
|
|
|
|
|
*Bundle-option-tags* |
|
|
|
Scripts can be grouped via tags option: > |
|
|
|
|
|
|
|
Bundle 'c.vim', {'tags', ['c', 'slow']} |
|
|
|
Bundle 'bash-support.vim', {'tags', ['bash', 'slow']} |
|
|
|
|
|
|
|
Currently the only usage of tags is to allow you manually bind slow scripts |
|
|
|
when needed, but group scripts by tags should be useful in the future. |
|
|
|
|
|
|
|
*BundleBind!* |
|
|
|
`Bundle` command just tell Vundle which scripts you want to use, it doesn't |
|
|
|
tell Vim load them, i.e, it doesn't update the 'runtimepath' option of Vim. |
|
|
|
@ -119,6 +142,14 @@ The benefit of use an extra command to update 'runtimepath' is, we can make |
|
|
|
Vim startup much faster while keeping 'runtimepath' ordered according to the |
|
|
|
bundles declarations. |
|
|
|
|
|
|
|
You can run `BundleBind!` manually to bind and load those scripts which |
|
|
|
haven't get bound and loaded at Vim startup: > |
|
|
|
|
|
|
|
:BundleBind! slow |
|
|
|
|
|
|
|
`BundleBind!` can accept any number of tags, just use space to separate them: |
|
|
|
> |
|
|
|
:BundleBind! c bash ruby javascript |
|
|
|
|
|
|
|
4.2 INSTALL SCRIPTS ~ |
|
|
|
*vundle-scripts-install* *BundleInstall* |
|
|
|
|