Update vimrc with plug autoinstall
This commit is contained in:
parent
db3e42bb6a
commit
7b8e2cddd1
6
vimrc
6
vimrc
@ -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
|
" disable compatability
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user