|
|
@ -28,7 +28,7 @@ Vundle is a short cut for Vim bundle and is the Vim plug-in manager. |
|
|
Vundle allows to: |
|
|
Vundle allows to: |
|
|
|
|
|
|
|
|
- keep track and configure your scripts right in `.vimrc` |
|
|
- keep track and configure your scripts right in `.vimrc` |
|
|
- install configured scripts (aka bundle) |
|
|
|
|
|
|
|
|
- install configured scripts (aka bundle) |
|
|
- update configured scripts |
|
|
- update configured scripts |
|
|
- search [all available vim scripts] by name |
|
|
- search [all available vim scripts] by name |
|
|
- clean up from unused scripts |
|
|
- clean up from unused scripts |
|
|
@ -38,7 +38,7 @@ Also *Vundle* : |
|
|
- manages runtime path of your installed scripts |
|
|
- manages runtime path of your installed scripts |
|
|
- regenerates helptags automatically |
|
|
- regenerates helptags automatically |
|
|
|
|
|
|
|
|
Vundle takes advantage of [vim-scripts.org](http://vim-scripts.org) |
|
|
|
|
|
|
|
|
Vundle takes advantage of [vim-scripts.org](http://vim-scripts.org) |
|
|
in order to install/search [all available vim scripts] |
|
|
in order to install/search [all available vim scripts] |
|
|
|
|
|
|
|
|
3. QUICK START ~ |
|
|
3. QUICK START ~ |
|
|
@ -54,7 +54,7 @@ in order to install/search [all available vim scripts] |
|
|
set nocompatible " be iMproved |
|
|
set nocompatible " be iMproved |
|
|
filetype off " required! |
|
|
filetype off " required! |
|
|
|
|
|
|
|
|
set rtp+=~/.vim/vundle.git/ |
|
|
|
|
|
|
|
|
set rtp+=~/.vim/vundle.git/ |
|
|
call vundle#rc() |
|
|
call vundle#rc() |
|
|
|
|
|
|
|
|
" let Vundle manage Vundle |
|
|
" let Vundle manage Vundle |
|
|
@ -75,7 +75,7 @@ in order to install/search [all available vim scripts] |
|
|
" ... |
|
|
" ... |
|
|
|
|
|
|
|
|
filetype plugin indent on " required! |
|
|
filetype plugin indent on " required! |
|
|
" or |
|
|
|
|
|
|
|
|
" or |
|
|
" filetype plugin on " to not use the indentation settings set by plugins |
|
|
" filetype plugin on " to not use the indentation settings set by plugins |
|
|
|
|
|
|
|
|
3) Install configured bundles: |
|
|
3) Install configured bundles: |
|
|
@ -84,7 +84,7 @@ in order to install/search [all available vim scripts] |
|
|
|
|
|
|
|
|
:BundleInstall |
|
|
:BundleInstall |
|
|
|
|
|
|
|
|
Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for |
|
|
|
|
|
|
|
|
Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for |
|
|
each configured repo to `~/.vim/bundle/`. |
|
|
each configured repo to `~/.vim/bundle/`. |
|
|
|
|
|
|
|
|
4. SCRIPTS ~ |
|
|
4. SCRIPTS ~ |
|
|
@ -94,7 +94,7 @@ each configured repo to `~/.vim/bundle/`. |
|
|
Before installing scripts they need to be configured. It's done using `Bundle` |
|
|
Before installing scripts they need to be configured. It's done using `Bundle` |
|
|
command in `.vimrc`: > |
|
|
command in `.vimrc`: > |
|
|
|
|
|
|
|
|
Bundle 'git_repo_uri' " 'git_repo_uri' should be a valid uri to git repository |
|
|
|
|
|
|
|
|
Bundle 'git_repo_uri' " 'git_repo_uri' should be a valid uri to git repository |
|
|
or > |
|
|
or > |
|
|
Bundle 'script_name' " 'script-name' should be an official script name (see |vundle-scripts-search| ) |
|
|
Bundle 'script_name' " 'script-name' should be an official script name (see |vundle-scripts-search| ) |
|
|
|
|
|
|
|
|
@ -122,7 +122,7 @@ BundleInstall allows to install scripts by name:> |
|
|
:BundleInstall unite.vim |
|
|
:BundleInstall unite.vim |
|
|
|
|
|
|
|
|
installs and activates unite.vim. You can use Tab to auto-complete known script names. |
|
|
installs and activates unite.vim. You can use Tab to auto-complete known script names. |
|
|
NOTE: installation, as just described, doesn't automatically configure scripts; |
|
|
|
|
|
|
|
|
NOTE: installation, as just described, doesn't automatically configure scripts; |
|
|
you have to configure them manually. |
|
|
you have to configure them manually. |
|
|
|
|
|
|
|
|
4.3 UPDATE SCRIPTS ~ |
|
|
4.3 UPDATE SCRIPTS ~ |
|
|
@ -170,11 +170,11 @@ run > |
|
|
|
|
|
|
|
|
:BundleClean |
|
|
:BundleClean |
|
|
|
|
|
|
|
|
requires confirmation before removal of unused script-dirs from your `.vim/bundle`. |
|
|
|
|
|
|
|
|
requires confirmation before removal of unused script-dirs from your `.vim/bundle`. |
|
|
|
|
|
|
|
|
*BundleClean!* |
|
|
*BundleClean!* |
|
|
> |
|
|
> |
|
|
:BundleClean! |
|
|
|
|
|
|
|
|
:BundleClean! |
|
|
|
|
|
|
|
|
removes unused scripts with no questions. |
|
|
removes unused scripts with no questions. |
|
|
|
|
|
|
|
|
@ -201,8 +201,8 @@ content: > |
|
|
Bundle 'unite-colorscheme' |
|
|
Bundle 'unite-colorscheme' |
|
|
|
|
|
|
|
|
As the first line(starting with `"Keymap:`) shows, certain actions may be applied |
|
|
As the first line(starting with `"Keymap:`) shows, certain actions may be applied |
|
|
to selected bundles . Move cursor over line `Bundle 'unite.vim'` and press i |
|
|
|
|
|
key(install, see |vundle-keymappings| for more details). |
|
|
|
|
|
|
|
|
to selected bundles . Move cursor over line `Bundle 'unite.vim'` and press i |
|
|
|
|
|
key(install, see |vundle-keymappings| for more details). |
|
|
After unite.vim is installed - `:Unite file` command should be |
|
|
After unite.vim is installed - `:Unite file` command should be |
|
|
available to prove 'unite.vim' availability. |
|
|
available to prove 'unite.vim' availability. |
|
|
|
|
|
|
|
|
|