[OT-VIM] Displaying only certain lines in the buffer

Thanks, Philip. I may end up using folding after all. However, a much
simpler facility seems to exist as well. I just cannot recall what :-(.

Gennady.

···

-----Original Message-----
From: Philip Hallstrom [mailto:ruby@philip.pjkh.com]
Sent: Wednesday, May 03, 2006 17:09
To: ruby-talk ML
Subject: Re: [OT-VIM] Displaying only certain lines in the buffer

> Sorry for totally off-topic question.
>
> I seem to remember that there's a way to have vim display
only certain
> lines in the buffer, like those satisfying a pattern.
Unfortunately, I
> do not remember how to turn it on and all my attempts to find the
> information failed miserably. I vaguely remember that the mode was
> called something like "condensed display" or "compact display" or
> "compressed display" (I searched for everything, all in vain).
>
> Does anybody know how to do it? Any hint will be greatly
appreciated.

folding.

http://www.vim.org/htmldoc/fold.html

Check out Mauricio Fernandez's
http://eigenclass.org/hiki.rb?Usable+Ruby+folding+for+Vim and check
out the comments. He mentions his FoldSearch function is derived from
vim tip 77: http://www.vim.org/tips/tip.php?tip_id=77

Hope that helps,
Jeff

···

On 5/3/06, Gennady Bystritsky <Gennady.Bystritsky@quest.com> wrote:

Thanks, Philip. I may end up using folding after all. However, a much
simpler facility seems to exist as well. I just cannot recall what :-(.

Gennady.

> -----Original Message-----
> From: Philip Hallstrom [mailto:ruby@philip.pjkh.com]
> Sent: Wednesday, May 03, 2006 17:09
> To: ruby-talk ML
> Subject: Re: [OT-VIM] Displaying only certain lines in the buffer
>
> > Sorry for totally off-topic question.
> >
> > I seem to remember that there's a way to have vim display
> only certain
> > lines in the buffer, like those satisfying a pattern.
> Unfortunately, I
> > do not remember how to turn it on and all my attempts to find the
> > information failed miserably. I vaguely remember that the mode was
> > called something like "condensed display" or "compact display" or
> > "compressed display" (I searched for everything, all in vain).
> >
> > Does anybody know how to do it? Any hint will be greatly
> appreciated.
>
> folding.
>
> http://www.vim.org/htmldoc/fold.html
>