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