make autocmd work under Windows

Konfekt 2016-04-05 07:43:27 +02:00
parent f0f027ff35
commit 00eccb73fc

4
faq.md

@ -6,8 +6,8 @@ Place the following code in your .vimrc before `plug#begin()` call
```vim ```vim
if empty(glob('~/.vim/autoload/plug.vim')) if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs silent exe '!curl -kfLo ' . expand('~/.vim/autoload/plug.vim')
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim \ . '--create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall | source $MYVIMRC autocmd VimEnter * PlugInstall | source $MYVIMRC
endif endif
``` ```