On Sat, Mar 24, 2001 at 02:31:29AM -0600, Timothy Legant wrote:
> On Sat, Mar 24, 2001 at 09:59:45AM +0200, Peter Pentchev wrote:
> > On Sat, Mar 24, 2001 at 07:35:12AM +0000, Viktor Lakics wrote:
> > > Hi All,
> > >
> > > I have an autocommand for temporary mutt files. I want to move the
> > > cursor down 6 positions automatically when I start a new mail (this
> > > would move the cursor right under the headers (i use edit headers). > But i
>can't seem to figure out how to do this from a vimrc file...
> >
> > You could try setting the mutt 'editor' variable to something like
> >
> > /usr/local/bin/vim +6j
> >
> > This shall affect editing old messages, too, but it will probably
> > do what you want.
>
> You might not always want to move down 6 lines. Perhaps in the future
> you will add a new header (using my_hdr) to certain messages. You might
> want to consider the following instead:
>
> set editor="vim -c ':0;/^$'"
>
> which will search for and move to the first blank line. In an email
> message that should be the first line after all the headers, no matter
> how many header lines there are.
Yeah, that would work better :)
G'luck,
Peter
--
No language can express every thought unambiguously, least of all this one.