先确认系统已安装 git,并或正常运行,因为接下来安装 vim-plug 需要先安装git
linux下
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
windows下
curl -fLo %USERPROFILE%/vimfiles/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
git clone https://github.com/zenyue/vimrc.git ~/vimrc
ln -s ~/vimrc/.vimrc ~/.vimrc
或者
wget https://raw.githubusercontent.com/zenyue/vimrc/master/.vimrc ~/.vimrc
启动 vim 后,输入
:PlugInstall