vim and par

Eden Li plug-discuss@lists.PLUG.phoenix.az.us
Sun, 6 May 2001 02:48:24 -0700


Try:

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

Eden

From: "der.hans" <PLUGd@LuftHans.com>
> :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 :).