small configs update

This commit is contained in:
arnaucube
2023-07-08 18:07:49 +02:00
parent 8846968651
commit e351920abc
4 changed files with 51 additions and 41 deletions

7
.vimrc
View File

@@ -1,5 +1,12 @@
source ~/vimconfigbase.vim
" Automate plug.vim installation:
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
call plug#begin(expand('~/.vim/plugged'))
nnoremap <Space> <nop>