mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
curl --create-dirs
parent
3019fa4e28
commit
a7f52392e0
3
faq.md
3
faq.md
@ -36,8 +36,7 @@ Place the following code in your .vimrc before `plug#begin()` call
|
||||
|
||||
```vim
|
||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||
silent !mkdir -p ~/.vim/autoload
|
||||
silent !curl -fLo ~/.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
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user