1 "Automatic installation of vim-plug.
2 "https://github.com/junegunn/vim-plug/wiki/tips
3 if empty(glob('~/.vim/autoload/plug.vim'))
4 silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
5 \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
6 autocmd VimEnter * PlugInstall --sync | source ~/.vim/init.vim
9 call plug#begin('~/.vim/plugged')
10 source ~/.vim/plugins.vim
13 "Automatically install missing plugins
14 "https://github.com/junegunn/vim-plug/wiki/extra
16 \ if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
17 \| PlugInstall --sync | q