Re: Automatically truncating signatures
On 07Apr2007 10:35, Elimar Riesebieter <riesebie@xxxxxxxx> wrote:
| On Fri, 06 Apr 2007 the mental interface of Michael Pobega told:
| >I'm using Vim as my text editor and I've yet to figure out a good way
| >to automatically truncate everything below the signature line (----)
| >when I reply to a message. [...]
|
| Deletes everything from cursor line position till the last --
| (<dash><dash><blank>):
| map ,ds :.;/^-- $/d<CR>O<home>-- <ESC><right>d<End>I<CR><CR><UP><UP>
Wow. What's wrong with
/^-- /
dG
? That a ctrl-M there, btw.
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/
A long-forgotten loved one will appear soon. Buy the negatives at any price.