mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
make autocmd work under Windows
parent
f0f027ff35
commit
00eccb73fc
4
faq.md
4
faq.md
@ -6,8 +6,8 @@ Place the following code in your .vimrc before `plug#begin()` call
|
||||
|
||||
```vim
|
||||
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
|
||||
silent exe '!curl -kfLo ' . expand('~/.vim/autoload/plug.vim')
|
||||
\ . '--create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
autocmd VimEnter * PlugInstall | source $MYVIMRC
|
||||
endif
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user