vim and par

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Eden Li
日付:  
題目: 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 :).