From a24e5efa7bdbe9ff9708df949a171caf9b19702b Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 7 Dec 2020 13:12:20 +0100 Subject: [PATCH] vim: reload all configurations on write --- vim/shortcuts.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index fdf3410..87cc402 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -14,6 +14,7 @@ map e :e! ~/.vimrc map ` :ALELint " 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 x :e ~/buffer.md