Created
December 21, 2020 16:26
-
-
Save siancu/8220b244bc69b4fc4b4e1c45b33b7e5e to your computer and use it in GitHub Desktop.
Check for plug and install it if needed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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