Files
dotfiles/.config/vim/ftplugin/vim.vim
druckdev 69e2e43fc7 vim: Move after/ftplugin to ftplugin
There is no reason why the plugins should be in after/.
2020-12-24 02:26:36 +01:00

7 lines
295 B
VimL

" Source config upon saving vim file.
" Group to avoid "exponential" reloading. See:
" https://stackoverflow.com/questions/2400264/is-it-possible-to-apply-vim-configurations-without-restarting
augroup vimrc_reload
autocmd! BufWritePost * source $MYVIMRC | echom "Reloaded" | redraw
augroup END