* Maarten den Braber <[EMAIL PROTECTED]> [020124 20:03]: > * Nick Wilson <[EMAIL PROTECTED]> [020124 19:15]: > > I want to use a different $editor var whenever I either *reply* to or > > *compose* a message. Reason being a different cursor starting point for > > each one (on the attribution for replying and on the top line for > > composing). > > I'm not sure how to do it, I looked at hooks but didn't see one that > > seemed to fit? > > Can't you bind a macro to the key that you press when replying and when > composing a message?
Maybe it's A Good Thing to give an example to ;-), here it is: bind index r noop bind index m noop macro index m ":set editor=\"vim -c ':0;/Subject'\\\n<mail>" macro index r ":set editor=\"vim -c ':0;/^$'\\\n<reply>" mdb -- You have the capacity to learn from mistakes. You'll learn a lot today.