vim插件管理器Vundle.vim
git
clone
cat >>~/.vimrc <<HERE
set
nocompatible
filetype
off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'Vundle.vim'
Plugin 'nerdtree.vim'
let NERDTreeWinPos='left'
let NERDTreeWinSize=30
map :NERDTreeToggle
Plugin 'vim-airline.vim'
set laststatus=2
Plugin 'minibufexpl.vim'
let
g:miniBufExplMapWindowNavV
let
g:miniBufExplMapWindowNavA
let
g:miniBufExplMapCTabSwitch
let g:miniBufExplModSelTarget = 1
let g:miniBufExplMoreThanOne=0
map :MBEbp
map :MBEbn
Plugin 'tagbar.vim'
let
g:tagbar_ctags_bin='ctags'
let
g:tagbar_width=30
map
:Tagbar
Plugin 'python-mode'
filetype plugin indent on
let g:pymode_options_max_line_length = 160
map :PymodeRun
map :PymodeLintAuto
Plugin 'syntastic'
let python_highlight_all=1
call vundle#end()
HERE
二.安装常用插件
在~/.vimrc的call vundle#begin()和call vundle#end()之间加上载入参数即可
1.状态栏增强美化vim-airline
git
clone
2.资源管理NERDTree
git
clone
3.多文件编辑标签
git
clone
4.函数块折叠Tagbar
git
clone
5.语法检查与高亮
PluginInstall
6.配色方案
PluginInstall
https://github.com/altercation/vim-colors-solarized
https://github.com/jnurmine/Zenburn
实用至上,有兴趣的同学可以看看https://www.v2ex.com/t/47554
https://github.com/pangloss/vim-javascript
https://github.com/kien/ctrlp.vim
git://github.com/rodjek/vim-puppet.git
python插件
pymode
PluginInstall