<<< Date Index >>>     <<< Thread Index >>>

Re: Placing vim cursor between reply content and sig



On Tue, 2006-05-02 at 14:27:46 +1000, Troy Piggins sent:
>What about :
>
>set editor="vim +startinsert +'/-- '"
>
>YOu still have to move up one line though :-(
>
Not if you append /-1, thus:

set editor="vim +startinsert +'/-- /-1'"

However, this works from the top-down. I think you're better off
working from the bottom-up, hence:

:set editor="vim +startinsert +'$?^-- $?-1'"

Hope this helps;

--paj
-- 
Pete Johns                                   <http://johnsy.com/>
Tel/Fax numbers and IM information   <http://johnsy.com/contact/>
Links, links, links...         <http://johnsy.com/20060428092822>

Attachment: pgpFA364jRU6n.pgp
Description: PGP signature