working snippets, hopefully the autocmds work