auto reload when writing .vimrc
This commit is contained in:
parent
071f1117cc
commit
cddf1fd660
1 changed files with 3 additions and 0 deletions
3
.vimrc
3
.vimrc
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue