vim 自身是没有插件管理的, 所以需要安装一个插件管理器来管理插件 。Vundle 是目前最好的插件管理器
安装方法
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
vim ~/.vimrc
set nocompatible " be iMproved, required filetype off " required
" set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') "let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim'
"Custom Plugin list " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required