diff --git a/init.vim b/init.vim index 1462396..97689ea 100644 --- a/init.vim +++ b/init.vim @@ -169,7 +169,7 @@ tnoremap augroup AutoSaveFolds autocmd! autocmd BufWinLeave * silent! mkview - autocmd BufWinEnter * silent! loadview + autocmd BufWinEnter * silent! loadview | doautocmd BufRead augroup END " clear search pattern with F2 @@ -178,6 +178,9 @@ noremap :let @/ = "" " Switch between Windows with: Leader w nnoremap w +" Re-read buffer and load modelines with: Leader m +nnoremap m :doautocmd BufRead + " Open fzf with all files in git with: Leader f nnoremap f :GFiles