Update vimrc with plug autoinstall

This commit is contained in:
Eric D. Rohler 2019-05-12 08:25:37 -04:00
parent db3e42bb6a
commit 7b8e2cddd1

6
vimrc
View File

@ -1,3 +1,9 @@
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" disable compatability
set nocompatible