feat: reload init.vim on save
This commit is contained in:
parent
f70fc73dec
commit
a2b5574b4d
1 changed files with 6 additions and 0 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue