VIM+Vundle development environment
Environment construction
Upgrade apt get
Command line execution
apt-get -u dist-upgrade
Install git
Command line execution
sudo apt-get install git
Install vim
Command line execution
sudo apt-get install vim
Install vundle
Command line execution
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
cp /usr/share/vim/vim74/vimrc_example.vim ~/.vimrc
Add the following configuration at the beginning of ~ /. vimrc
set nocompatible " This is necessary
filetype off " This is necessary
" You set the runtime path here
set rtp+=~/.vim/bundle/vundle
" vundle initialization
call vundle#begin()
" This should always be the first
Plugin 'gmarik/Vundle.vim'
" This example comes from https://github.com/gmarik/Vundle.vim README
"Plugin 'tpope/vim-fugitive'
" Come from http://Plug in for vim-scripts.org/vim/scripts.html
"Plugin 'L9'
"Not hosted in GitHub Upper Git Plug-in unit
"Plugin 'git://git.wincent.com/command-t.git'
"On the local machine git Software library (i.e. when writing your own plug-ins)
"Plugin 'file:///home/gmarik/path/to/plugin'
" sparkup vim The script is named vim Under the software library subdirectory of.
" Transfer path, set the run-time path reasonably.
"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" And L9 Avoid name conflicts
"Plugin 'user/L9', {'name': 'newL9'}
Plugin 'The-NERD-Commenter'
Plugin 'The-NERD-tree'
Plugin 'taglist.vim'
Plugin 'YankRing.vim'
Plugin 'kien/ctrlp.vim'
Plugin 'molokai'
Plugin 'colorizer'
Plugin 'pyflakes.vim'
Plugin 'python.vim'
Plugin 'plasticboy/vim-markdown'
Plugin 'matchit.zip'
Plugin 'repeat.vim'
Plugin 'surround.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'Lokaltog/vim-powerline'
Plugin 'mattn/emmet-vim'
Plugin 'Valloric/YouCompleteMe'
"Each plug-in should precede this line
call vundle#end() " required
Install plug-ins
~/Add plug-ins as required by comments in the configuration of. vimrc.
Execute in vim after adding
:BundleInstall
Execute in vim after deletion
:BundleClean
Other orders
: h vundle - view help
: BundleList - enumerates all plug-ins configured in the list (that is,. vimrc)
: BundleInstall - install all plug-ins in the list
: BundleInstall! - update all plug-ins in the list
: BundleSearch * - find plug-ins
: BundleSearch! * - refresh plug-in cache
: BundleClean - clear plug-ins that are not in the list
: BundleClean! - clear plug-ins that are not in the list
Taglist plug-in requires ctags
sudo apt-get install ctags