Open JaredVogt opened 8 years ago
per http://learnvimscriptthehardway.stevelosh.com/chapters/14.html
example...
:augroup testgroup : autocmd! : autocmd BufWrite * :echom "Cats" :augroup END
the key is that each augroup has a first line of : autocmd! which clears out the group so you don't end up with "duplicates."
: autocmd!
per http://learnvimscriptthehardway.stevelosh.com/chapters/14.html
example...
the key is that each augroup has a first line of
: autocmd!
which clears out the group so you don't end up with "duplicates."