diff --git a/.vimrc b/.vimrc index c8333e7..6df8178 100644 --- a/.vimrc +++ b/.vimrc @@ -115,6 +115,9 @@ set foldlevel=99 " remap code folding nnoremap g za +" auto reload .vimrc on write +autocmd BufWritePost .vimrc source % + " toggle hybrid number mode nnoremap h :set rnu! :augroup numbertoggle