[FIX][VIM] Download vim-plug without user input
This commit is contained in:
parent
4bda2c3f27
commit
9107dad1e2
|
@ -42,10 +42,10 @@ set tabstop=8
|
||||||
" Credit to github.com/captbaritone
|
" Credit to github.com/captbaritone
|
||||||
if empty(glob("~/.vim/autoload/plug.vim"))
|
if empty(glob("~/.vim/autoload/plug.vim"))
|
||||||
" Ensure all needed directories exist (Thanks @kapadiamush)
|
" Ensure all needed directories exist (Thanks @kapadiamush)
|
||||||
execute '!mkdir -p ~/.vim/plugged'
|
silent! execute '!mkdir -p ~/.vim/plugged'
|
||||||
execute '!mkdir -p ~/.vim/autoload'
|
silent! execute '!mkdir -p ~/.vim/autoload'
|
||||||
" Download the actual plugin manager
|
" Download the actual plugin manager
|
||||||
execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
|
silent! execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
Loading…
Reference in a new issue