Fun with VIM: autocmd part 2

More to write about after spending a weekend hacking on vim plugins. Autocmd is probably one of the most powerful features of vim, but also one of the easiest to mis-use. If you ever end up copy-and-pasting someone else’s autocmd examples, beware! Here’s one that I had in my .vimrc forever autocmd BufRead,BufNewFile,BufAdd *.php setlocal […]