feat: reload init.vim on save

This commit is contained in:
Michael Mandl 2021-08-03 08:47:15 +02:00
parent f70fc73dec
commit a2b5574b4d
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -65,6 +65,12 @@ set smartcase
" preview commands
set inccommand=split
" reload init.vim on save
augroup InitVimReload
autocmd!
autocmd BufWritePost init.vim source $MYVIMRC
augroup END
" set cursorline in active window
augroup CursorLine
autocmd!