1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-06-26 02:28:32 +02:00

vim: reload all configurations on write

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

View File

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