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

Re: Positioning cursor with vim



On Thu, Jul 28, 2005 at 03:47:10PM -0400, Trey Sizemore wrote:

> How do I get the cursor to automatically go to the message body (rather
> than the headers) when I create a mail and appear at the end of quoted
> messages (for bottom-posting) when I reply?

Call vim with "vim +'/^$/+1'" - that will bring you to the first line of
the attribution. By the time you finish trimming the text you're quoting
(*hint hint*), you'll be at the bottom of the message.

I do use this macro:
map S d/^--<CR>ko<CR> (to delete to my sig with "S"), or else "dG" to
delete to the end if I don't have a sig.