Re: Placing vim cursor between reply content and sig
* Andrew Haninger <ahaning@xxxxxxxxx> :
> I'm looking for a way to have mutt start up vim such that my cursor is
> placed properly for a bottom-posted reply.
>
> By default, mutt adds my sig to the end of my message, but it starts
> vim with the cursor at the top, rather than where I would type my
> reply. This is fine if I'm composing a new message, but it means I
> have to cursor down if I'm replying to a thread.
>
> By playing a bit with vim's options, I've been able to get my cursor
> at the bottom of the email (and into my sig) and vim is started in
> insert mode which is a nice start, but not exactly what I want.
>
> Here's what I have in my .muttrc so far:
>
> set editor="vim + -c startinsert"
The -c is redundant if you use +
> Does anyone else have a setup that works like what I've described?
What about :
set editor="vim +startinsert +'/-- '"
YOu still have to move up one line though :-(
--
Troy Piggins
,-o Ubuntu v5.10 (Breezy Badger): kernel 2.6.12-9-386,
o ) postfix 2.2.4, procmail 3.22, mutt 1.5.11i,
`-o slrn 0.9.8.1/rt (score_color patch), vim 7.0f (beta)