[Oops! Cc'd to the wrong list.. Heh.. Sorry.]
On 09-Aug-2000, Timothy Ball wrote:
> On Wed, Aug 09, 2000 at 10:46:56AM -0500, Ronny Haryanto wrote:
> > - muttrc:
> > set editor = "vi -u ~/.vimrc-mutt"
> > and in ~/.vimrc-mutt:
> > source ~/.vimrc
> > set ft=mail
> > au BufRead * normal :g/^> -- $/,/^$/-1d<CR><C-L>gg
>
> When I do this vim complains of "trailing characters. What's the C-L
> supposed to do?
Ugh, sorry about that. The <C-L> was meant to be Ctrl-L which clears
the screen after vim complains if it cannot find quoted signature.
Apparently the <...> construct doesn't work in this case (any vimmers
here willing to explain?), try inserting a literal CR (press Ctrl-V
followed by Enter) and a literal Ctrl-L (press Ctrl-V followed by
Ctrl-L).
The above method assumes that you use $signature and $sig_dashes so
that there's a blank line after the quoted mail and your own
signature. I should have mentioned this earlier.
Ronny