Vundle
安装
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
配置
- vimrc首部添加
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
call vundle#end()
filetype plugin indent on
- 安装脚本在vim中运行
:PluginInstall
- 在命令行直接安装而不打开vim运行
vim +PluginInstall +qall