auto reload when writing .vimrc

This commit is contained in:
Jidbo 2019-04-03 14:25:35 +02:00
parent 071f1117cc
commit cddf1fd660

3
.vimrc
View file

@ -115,6 +115,9 @@ set foldlevel=99
" remap code folding " remap code folding
nnoremap <leader>g za nnoremap <leader>g za
" auto reload .vimrc on write
autocmd BufWritePost .vimrc source %
" toggle hybrid number mode " toggle hybrid number mode
nnoremap <leader>h :set rnu!<CR> nnoremap <leader>h :set rnu!<CR>
:augroup numbertoggle :augroup numbertoggle