Vim Plugin plugin manager vundle

Source: Internet
Author: User

Vundle

Project Hosting on GitHub Https://github.com/VundleVim/Vundle.vim

Its features are the use of git to manage plug-ins, update convenience, support search, one-click Update, from then only need a VIMRC walk the world.

Installation and Configuration

Installing Vundle

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

Configure Plugins

Set nocompatible"Be improved, requiredFileType off"Required"set the runtime path to include Vundle and initializeSet rtp+=~/.vim/bundle/vundle.vimcall vundle#begin ()"Alternatively, pass a path where vundle should install plugins"Call vundle#begin (' ~/some/path/here ')"Let Vundle manage Vundle, requiredPlugin'Vundlevim/vundle.vim'"The following is examples of different formats supported."Keep Plugin commands between vundle#begin/end."plugin on GitHub repoPlugin'tpope/vim-fugitive'"plugin from http://vim-scripts.org/vim/scripts.htmlPlugin'L9'"Git plugin not hosted on GitHubPlugin'Git://git.wincent.com/command-t.git'"git repos on your local machine (i.e. when working on your own plugin)Plugin'File:///home/gmarik/path/to/plugin'"The sparkup vim script is in a subdirectory of this repo called Vim."Pass The path to set the Runtimepath properly.Plugin'Rstacruz/sparkup', {'RTP':'vim/'}"Avoid a name conflict with L9Plugin'User/l9', {'name':'newL9'}"All of your Plugins must is added before the following lineCall Vundle#end ()"RequiredFileType plugin indent on"Required"to ignore plugin indent changes, instead use:"filetype plugin on""Brief Help":P luginlist-lists configured plugins":P lugininstall-installs plugins, append '! ' to update or just:P luginupdate":P luginsearch foo-searches for foo, append '! ' to refresh local cache":P luginclean-confirms removal of unused plugins; Append '! ' to auto-approve removal""see:h Vundle For more details or wiki for FAQ"Put your non-plugin stuff after this line

Installing plugins

Start vim, and enter:PluginInstall

Other common commands:

    • Update Plugin ": Bundleupdate"
    • Clear plugins no longer in use ": Bundleclean"
    • List all plugins ": Bundlelist"
    • Find plugin ": Bundlesearch"

And then you can do it, here's a picture:

Instructions for use:

F2: Quick Open Manual documentation

F3: Generate tags file, (System to install Ctags first)

F5: Check for PHP syntax errors.

F6: Turn off the automatic prompt code, (some files because automatic prompt is not supported, turn on automatic prompting will cause the editing is very slow, you can quickly turn off the automatic prompt with F6)

F11: Turns nerdtree on or off.

F12: Turns tagbar on or off.

CTRL + C: Copy, is copied to the system of the Clipboard, you can be in non-vim paste out.

Ctrl + V: Paste, is pasted from the system Clipboard, that is, you can copy the text in other places and then use Ctrl + V paste (at this time with P paste is no use), note, paste when inserting a template, Normal mode Ctrl + V trigger is the selection block.

CTRL + Z: Undo

Ctrl+s: Save, note ctrls+s shortcut keys are often disabled by the terminal, if you want to enable ctrls+s, need to set: Alias vim= "Stty stop"-ixoff; Vim

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