vim and par

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eden Li
Date:  
Subject: vim and par
Try:

:map #ee :+1,/^--$/d<cr>

Eden

From: "der.hans" <>
> :map #ee :.+1,$-3g/.*/d<cr>
>
> That'll rip out everything from the current line to and including the 4th
> from last line. Now, instead of hardcoding $-3g, I'd like to search for

and
> recognize a valid quoted sig, e.g. "^--$" with the sig on the following
> lines, and have the line before it be what $-3g is doing for me. I'd also
> like to get rid of the search highlighting that's left, but there's an

easy,
> ugly workaround for that :).