On 08/04/09 09:02, Tobias Klausmann wrote:
>
> Hi!
>
> On Wed, 08 Apr 2009, Chris Bannister wrote:
>> Unfortunately that will delete your sig.
>
> Which is why I use this:
> map<F2> :.,/^-- $/g/./d^MI-- ^M^[kk
>
> Yes, there's quite probably some room for improvement, there.
>
> Regards,
> Tobias
Why not just
:.,/^-- $/-1d
? (delete from here to one line above the sig delimiter)
Best regards,
Tony.
--
"You are old, father William," the young man said,
"And your hair has become very white;
And yet you incessantly stand on your head --
Do you think, at your age, it is right?"
"In my youth," father William replied to his son,
"I feared it might injure the brain;
But, now that I'm perfectly sure I have none,
Why, I do it again and again."
-- Lewis Carrol
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---