1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

vim: reload all configurations on write

This commit is contained in:
bretello 2020-12-07 13:12:20 +01:00
parent c37017f80e
commit a24e5efa7b
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -14,6 +14,7 @@ map <leader>e :e! ~/.vimrc<CR>
map <leader>` :ALELint<CR>
" FIXME: This results in some weird conflict with lightline
autocmd! bufwritepost ~/.vimrc source ~/.vimrc
autocmd! bufwritepost $DOTFILES/vim/* source ~/.vimrc
" Quickly open a markdown buffer for scribble
map <leader>x :e ~/buffer.md<CR>