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

Re: Placing vim cursor between reply content and sig



On 2006-05-02, Andrew Haninger <ahaning@xxxxxxxxx> wrote:
> On 5/1/06, Wilkinson, Alex <alex.wilkinson@xxxxxxxxxxxxxxxxxxx> wrote:
> > set editor="vim -c 'set filetype=mail' -c 'set textwidth=80' +:$ +:star!"
> Thanks for that.
> 
> But it seems to just put my cursor at the very bottom of my message,
> just after my sig ends, like it did with my command.
> 
> I want the cursor between the sig and the end of the message I'm replying 
> to.

If you throw a

    -c '$?^$'

in there before the 'startinsert', that will put the cursor on the 
first blank line above your signature.

HTH,
Gary

-- 
Gary Johnson                 | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx     | Wireless Division
                             | Spokane, Washington, USA