How do I make vim open files in insert mode? I've got the line "startinsert" in my .vimrc, and it does what it's supposed to (vim opens in insert mode), but when I open another file it opens it in command mode. I've played around with autocmd with no luck.Any ideas?
The way you did it, your command is only read and applyied once, when vim starts.
To get the behaviour you expect, you need to apply it to each buffer you open.
This can be done with an
augroup OpenEveryBufferInInsertMode autocmd! autocmd BufRead,BufEnter * startinsert augroup end