vim: Source edited vim config upon saving
This commit is contained in:
@@ -157,5 +157,10 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
" Source edited vim config upon saving.
|
||||
augroup vimrc
|
||||
autocmd! BufWritePost $MYVIMRC,vimrc source % | echom "Reloaded" | redraw
|
||||
augroup END
|
||||
|
||||
" Load filetype plugins
|
||||
filetype plugin indent on
|
||||
|
||||
Reference in New Issue
Block a user