Is there any difference between the following two commands:
autocmd FileType html,htmldjango inoremap <buffer> <leader>1
And converted to an autocmd:
augroup filetype_html
autocmd!
autocmd FileType html,htmldjango inoremap <buffer> <leader>1
augroup END
Is one preferable over the other, or are they two different ways of saying the same thing? If so, why should one be used over the other?
site:vi.stackexchange.comin your favorite search engine to limit the results to our site. – statox Jun 12 '20 at 07:21