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
> 
>