vim: Move ftplugins into after/
All of these are meant as additions and should not override vims default ftplugins.
This commit is contained in:
6
.config/vim/after/ftplugin/vim.vim
Normal file
6
.config/vim/after/ftplugin/vim.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
" 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
|
||||
Reference in New Issue
Block a user