Vim Plugin manager Vundle use

Source: Internet
Author: User
Tags git clone

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

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.