I want to set my tab stops to 2 spaces in any text (.txt) file I edit but I haven't been able to get the hang of it. Maybe I'm just dense. I've read the inline docs to no avail. I've tried reading Vim-related blog posts but it's difficult to narrow it down to this specific problem because searching for vim text tabs includes lots of stuff unrelated to text-type files. This is what I've come up with but which doesn't work:
autocmd FileType txt setlocal ts=2 sts=2 sw=2 expandtab
Feel free to downvote me and take away my programmer badge for asking such a stupid question, but I'm tired of banging my head against the wall on this.