Update .config/nvim/init.vim
This commit is contained in:
parent
82c46cc22d
commit
fd27e828f0
|
@ -1,3 +1,10 @@
|
||||||
set keymap=russian-jcukenwin
|
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