dotfiles/dot_config/nvim/init.vim

11 lines
384 B
VimL
Raw Normal View History

2022-11-24 16:48:35 +00:00
set keymap=russian-jcukenwin
set iminsert=0
set imsearch=-1
2022-12-03 17:35:20 +00:00
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