Http://www.linuxidc.com/Linux/2012-12/75684.htm
Vundle (Vim bundle) is a vim plug-in manager.
Its github address is: Https://github.com/gmarik/vundle
How to use Vundle (personal use environment for Ubuntu 12.10)
1. Download Vundle from GitHub to Local:
$ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
2. Configure the VIMRC file:
If you are using Ubuntu apt to install vim, its VIMRC should generally be in the/etc/vim/directory
Some people vimrc files may be in the personal working directory, the. vimrc file
Modify the VIMRC file and add the required statements as follows.
Set nocompatible "be improved
FileType off "required! /** starting from this line, VIMRC configuration **/
Set rtp+=~/.vim/bundle/vundle/
Call VUNDLE#RC ()
"Let Vundle manage Vundle
"Required!
Bundle ' Gmarik/vundle '
"My Bundles here:/* Plugin configuration format */
"
"Original repos on GitHub (the plugin for non-vim-scripts warehouses on the GitHub site, as in the format below)
Bundle ' tpope/vim-fugitive '
Bundle ' Lokaltog/vim-easymotion '
Bundle ' Rstacruz/sparkup ', {' RTP ': ' vim/'}
Bundle ' Tpope/vim-rails.git '
"Vim-scripts Repos (vim-scripts Warehouse, fill in the form below)
Bundle ' L9 '
Bundle ' Fuzzyfinder '
"Non GitHub repos (not in the above two cases, fill in the form below)
Bundle ' Git://git.wincent.com/command-t.git '
" ...
FileType plugin indent on "required! /** VIMRC file Configuration End **/
"/** vundle Command **/
"Brief Help
": Bundlelist-list configured Bundles
": Bundleinstall (!) -Install (update) Bundles
": Bundlesearch (!) Foo-search (or refresh cache first) for Foo
": Bundleclean (!) -Confirm (or auto-approve) removal of unused bundles
"
"See:h Vundle for more details or wiki for FAQ
"Note:comments after Bundle command is not allowed.
Note that vundle will automatically download and manage the plugin for you, so just fill in the name of the plugin you need. For different types of plug-ins, there are different ways to fill out addresses. You can do this by filling in the method above.
Fill complete, save exit, open a vim window. Enter in command mode
: Bundlelist//will display all the plug-in names you fill in VIMRC
: Bundleinstall//will automatically download and install or update your plugin.
Ps:https://github.com/vim-scripts and http://vim-scripts.org/vim/scripts.html Both sites are vim-scripts plugins, That is, you just need to add the name of the plugin you want in VIMRC.
Vim Plugin manager Vundle use