Transferred from: http://blog.csdn.net/jiaolongdy/article/details/17889787/
Vundle is a git repository-based plug-in management software. Vundle simplifies the installation of plug-ins to resemble the Yum software installation process, as long as: The Bundleinstall plugin is installed,: Bundleclean after the plugin is uninstalled.
First, the installation and use of Vundle
1. Installation of Vundle
$ git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
2. Update the. VIMRC configuration file
SetNocompatible"Be improvedFileType off"required! Setrtp+=~/.vim/bundle/vundle/Call VUNDLE#RC ()"Let Vundle manage Vundle"required! Bundle'Gmarik/vundle' "You can specify the source of the plug-in in the following four ways"A) Specify the plug-in in the Vim-scripts warehouse in GitHub, specify the plug-in name directly, and use the "-" instead of the space in the plugin. Bundle'L9'b) Specify plugins for other user repositories in GitHub, using the user name/plug-in name "way to specify bundles'tpope/vim-fugitive'Bundle'lokaltog/vim-easymotion'Bundle'Rstacruz/sparkup', {'RTP':'vim/'} Bundle'Tpope/vim-rails.git' "c) Specify a plugin for a git repository other than GitHub and need to use a git addressBundle'Git://git.wincent.com/command-t.git' "d) Specify plugins in the local git repositoryBundle'File:///Users/gmarik/path/to/plugin'filetype plugin indent on"required!
3. Install the plugin:
: Bundleinstall
4. Uninstalling plugins
If you want to uninstall a plugin, you only need to delete the bundle in the. VIMRC and then execute it in vim
: Bundleclean
second, vundle commonly used commands
: Bundlelist - all plugins configured in the list (i.e.. vimrc) : Bundleinstall - All plugins in the installation list : Bundleinstall ! - Update all plugins in the list : Bundlesearch foo - find foo plugin : Bundlesearch! foo - flush Foo Plugin cache : Bundleclean - clear plugins that are not in the list : Bundleclean! -Clear plugins that are not in the list
attached: Reference documentsVundle Project
vim-scripts Maintenance of GitHub repo
Vim Plugin management tool--vundle