Update .config/nvim/init.vim
This commit is contained in:
parent
fd27e828f0
commit
f92dd02d05
|
@ -2,9 +2,4 @@ set keymap=russian-jcukenwin
|
||||||
set iminsert=0
|
set iminsert=0
|
||||||
set imsearch=-1
|
set imsearch=-1
|
||||||
|
|
||||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
|
||||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
|
||||||
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
|
||||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue