On Tue, Oct 30, 2001 at 12:39:24PM +0530, Suresh Ramasubramanian wrote: > Matej Cepl <mutt> [30/10/01 01:20 -0500]: > > Is anybody able to help me (sorry, for OT question, but I guess > > that there are many vim users on this list), please? > > Try this > > # Use mutt.editor as our editor > set editor="vim +':set textwidth=65' +':set wrap' +\`awk '/^$/ {print i+2; exit} >{i++}' %s\` %s"
You could replace the awk invocation with +'/^$/+1' <snip> Regards, Doug