Mutt uses vim as its editor, and its temp files are in /tmp/mutt-*
I want vim to auto-insert on the first line when replying to an email in mutt. here is the applicable line from my .vimrc:
autocmd BufRead /tmp/mutt-* execute 'normal gg/\n\n\n^M2j'
I don't think this line inserts (I guess I need to append 'i' to it), but that's not the problem right now. The problem is, vim called by mutt starts with the cursor on the last line, despite this addition to vimrc.
So, what am I doing wrong, and most importantly, How can I get vim to insert at the top of a reply when using mutt?
Edit: I know that it's using my .vimrc because when I intentionally enter garbage after 'execute', I get a vim error when replying.
Update: I have tried the suggestions, and the insert suggestion works great, but I have ben unable to get the insert to start at the top of the reply (i.e. the top of the tmp file vim opens).