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