Last active
April 9, 2021 18:15
-
-
Save michaelmob/fb9c0186d646b7482247ca3085afc2af to your computer and use it in GitHub Desktop.
Fetch plug.vim with wget
This file contains hidden or 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')) | |
let plugurl = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
silent execute '!wget -P ~/.vim/autoload ' . plugurl | |
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