vim: Wrap autocmds in augroups

To prevent the piling up of autocommands when reloading the vimrc, wrap
all autocommands in groups.
This commit is contained in:
2022-08-25 04:18:33 +02:00
parent 64353b4ffa
commit 794293aa81
3 changed files with 19 additions and 4 deletions

View File

@@ -94,4 +94,7 @@ let g:netrw_liststyle=3
" TermDebug
" Have source view to the side of the splits of debugger and program
autocmd SourcePost termdebug.vim let g:termdebug_wide = 1
augroup termdebug_settings
au!
autocmd SourcePost termdebug.vim let g:termdebug_wide = 1
augroup end