Vim Plugin management tool--vundle

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.