Vim Plugin: vundle
Compared with modern editors such as sublime text2, Vim lacks the default plug-in manager, and all plug-in files are distributed in ~ /. In several folders under vim, the vim configuration process is to constantly search for plug-ins on the Internet and copy them ~ /. Vim. If an update is found, you need to download it again and copy it again. If you want to delete a plug-in that does not need it, you must be careful not to delete the error. It takes a lot of patience and luck to configure Vim.
Of course, the vitality of the vim community cannot be doubted, and there are no guns, no guns, and no guns. Previously, tpope's pathogen was used and git submodule and pathogen were used, which greatly simplified the management plug-in. The vundle introduced today integrates git operations. All you need to do is go to Github to find the plug-in name you want and install it, vundle is available for update and uninstallation. Although finding a good plug-in is still a process of seeking up and down, you can free yourself from the tedious process of installing the configuration.
For more information about Vundle, see vim.org or github repo.
Installation and configuration
Download vundle
$ Git clone https://github.com/gmarik/vundle.git ~ /. Vim/bundle/vundle
Add bundle configuration in. vimrc
Set nocompatible "be iMproved
Filetype off "required!
Set rtp + = ~ /. Vim/bundle/vundle/
Call vundle # rc ()
"Let Vundle manage Vundle
Bundle 'gmarik/vundle'
"My Bundle here:
"
"Original repos on github
Bundle '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-scripts repos
Bundle 'yankring. vim'
Bundle 'vcscommand. vim'
Bundle 'showpairs'
Bundle 'sudoedit. vim'
Bundle 'easygrep'
Bundle 'voom'
Bundle 'vps'
"..................................
"Non github repos
"Bundle 'git: // git.wincent.com/command-t.git'
"......................................
Filetype plugin indent on
Bundle is divided into three types:
1. For repos under Github vim-scripts users, you only need to write the repos name
2. For repos under other Github users, you need to write "User Name/repos name"
3. If the plug-in is not on Github, you need to write the full git path.
Install plug-ins
Open vim and run: BundleInstall
Or run vim + BundleInstall + qall on the command line.
After installation, the plug-in can be used.
Other common commands:
• Update plug-in: BundleUpdate
• Clear plug-ins that are no longer in use: BundleClean,
• List all plug-ins: BundleList
• Search plug-in: BundleSearch
For more Vim tutorials, see the following:
Build VIM into a simple and practical IDE
Vim Learning Guide
Quick learn Vi Editor
Powerful Vim Editor
Build a Vim Development Environment on CentOS 6.2
Install the highlighted Vim editing tool in CentOS 5.4
Vim tips: C language settings
Set the Vim row number in Ubuntu
Vim editor basic tutorial
This article permanently updates the link address: