2
I am using vim from mutt to reply to my emails and in the .muttrc I have the follow specified:
set editor= 'vim +1 -c "set textwidth=72" -c "set wrap" -c "set nocp" -c "set spell"'
I want to be able to add 2 new lines on top of the reply buffer so that I don't have to add them to every new reply.
So how do I prepend a new buffer from the launch options/commands?
Also, any other vim editor commands are welcome that would be useful in this situation : )
1So, by inference, you could add two blank lines by removing the 'foo' and 'bar'? – Jonathan Leffler – 2012-11-19T06:31:15.887
1If merely adding blank lines, I would prefer romainl's suggestion:
vim -c 'normal 2O' +3
– William Pursell – 2012-11-19T18:13:45.073