feat: reload init.vim on save

main
mandlm 2021-08-03 08:47:15 +02:00
parent f70fc73dec
commit a2b5574b4d
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 6 additions and 0 deletions

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!