first vim openning installs plugins

This commit is contained in:
Luke Smith 2019-05-28 15:57:07 -04:00
parent a4aecf856e
commit f6ee23ed74
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -4,6 +4,7 @@ if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
echo "Downloading junegunn/vim-plug to manage plugins..."
silent !mkdir -p ~/.config/nvim/autoload/
silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim
autocmd VimEnter * PlugInstall
endif
call plug#begin('~/.config/nvim/plugged')