set viminfo+=n~/.local/share/vim/viminfo
if empty(glob('~/.config/vim/autoload/plug.vim'))
- lcd ~
+ cd
silent !mkdir -p .cache/vim/swap > /dev/null 2>&1
silent !mkdir -p .cache/vim/backup > /dev/null 2>&1
silent !mkdir -p .cache/vim/undo > /dev/null 2>&1
silent !curl -fLo .config/vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall | source $MYVIMRC
+ cd -
endif
" section: plugins {{{1