Skip to content

Instantly share code, notes, and snippets.

@shengyou
Created January 3, 2018 04:28
Show Gist options
  • Save shengyou/35faeb534a8b533620b7594937350b5a to your computer and use it in GitHub Desktop.
Save shengyou/35faeb534a8b533620b7594937350b5a to your computer and use it in GitHub Desktop.
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment