How to disable augroup in vim?
- by Andrew Vit
I understand that in my vimrc I can add autocmd, and I can group them into augroup. Once they are grouped, what can I do with the group? Specifically, is there a way to disable the whole group at once?
Looking at the help, I only see two options:
augroup! will delete the whole group: I don't think this is right since I will want to re-enable it again.
Searching for "aucmd" and "disable" brings up eventignore, but this looks like it's for specific events like CursorMoved, BufWinLeave, etc. and not the command or the group itself.
How is this done?