Vim Plugin Manager Vundle

Source: Internet
Author: User
Tags git clone

1.vim Why do I need a plugin manager

        according to the normalVimplug-in installation includes downloading, extracting and copying to the websiteVIMthe installation directoryand Running: Help Tagsthese few steps. These steps are complex enough, and even more unimaginable is to update or delete a plugin, because its files are distributed in various directories, such asWindowson the installation path,ApplicationData, user data, registry, and so on, unless youVIMplug-in mechanism and to delete the plug-in like a straight palm, otherwise you can be difficult to remove it clean. So after some time,VIMinstallation directory is simply mess, the management plug-in is almost an impossible task. The plug-in Manager is also a plug-in that organizes the deployment paths of other plug-ins. For exampleVundleput each plug-in into~/.vim/bundle/under one of the files, removal or upgrade is very convenient.

2. Common Plug-in manager

Vim The common Plugins manager has the following:

( 1 ) Vim-addon-manager

( 2 ) Pathogen.vim

( 3 ) Vimana

( 4 ) V Undle

now, the more popular plug-in management tools are Vundle

3.Vundle the installation and configuration

Tpope's Pathogen plug-in Manager with git submodule and pathogen, managing plugins has been greatly simplified. and vundle, is the git operation integration, the user needs to do is to go to GitHub to find their own desired plug-in name, installation, update and uninstall can have vundle to complete. that is, the vundle plugin Manager uses git tools directly to git sources ( git path or The repository name on GitHub) to download, install and update the plugin, so that vim users can easily and quickly install a variety of plug-ins

Vundle are installed and configured as follows:

( 1 ) Download Vundle

git clone https://github.com/gmarik/vundle.git~/.vim/bundle/vundle

( 2 ) configuration ~ /.VIMRC

in the ~/.VIMRC Add the following configuration:

Set nocompatible                "be improvedfiletype off                    " Required!setrtp+=~/.vim/bundle/vundle/call VUNDLE#RC () "Let Vundlemanage vundlebundle ' Gmarik/vundle ' "My Bundle Here:" "Original Reposon githubbundle ' Kien/ctrlp.vim ' Bundle ' Sukima/xmledit ' bundle ' sjl/gundo.vim ' bundle ' jiangmiao/auto-pairs ' bundle ' klen/python-mode ' bundle ' valloric /listtoggle ' bundle ' sirver/ultisnips ' bundle ' valloric/youcompleteme ' bundle ' scrooloose/syntastic ' bundle ' t9md/ VIM-QUICKHL ' "Bundle ' lokaltog/vim-powerline ' bundle ' scrooloose/nerdcommenter '" .......... .............. "Vim-scriptsreposbundle ' Yankring.vim ' bundle ' vcscommand.vim ' bundle ' showpairs ' bundle ' sudoedit.vim ' bundle ' Easygrep ' bundle ' voom ' bundle ' Vimim ' "... ..." non githubrepos "bundle ' git://".. ... ". ...". ". ...". ".." Git.wincent.com/command-t.git ' "... ... filetype pluginindent on ..... ....., ..., .....?????????.

( 3 ) Install plug-ins

Open a vim, running: Bundleinstall

or run at the command line Vim +bundleinstall +qall

The plugin will be available after the installation is complete.

remark: Vundle the other operations

Update Plugin : Bundleupdate

clear plugins that are no longer in use : Bundleclean,

List all plugins : Bundlelist

Find Plugins : Bundlesearch

References from:

Https://github.com/VundleVim/Vundle.vim

Vim Plugin Manager 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.