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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user