Monday, September 20, 2010

Re: narrow region with a filter ?

> I would like to to this :
>
> :g/pattern/NR
>
> to edit the matching lines in a new buffer.

Not exactly what you want but IIRC there is a plugin that hides all
text in folds that doesn't match a certain pattern. Maybe it was this
one?
http://www.vim.org/script.php?script_id=158

It provides a command :FoldNonMatching

Regards,
Tom

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: