Update .config/nvim/init.vim

This commit is contained in:
V 2022-12-03 21:38:58 +04:00
parent fd27e828f0
commit f92dd02d05

View file

@ -2,9 +2,4 @@ set keymap=russian-jcukenwin
set iminsert=0
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