Refactor vim autocmd: use setlocal