Move autocmd stuff inside a conditional