Is there any way to search for text in open folds
only? For example, if fold 1 and fold 2 below are
closed and fold 3 is open, and placing the cursor
on the line which says "Start search here", I
would like to end up on the "foo" in fold 3 when
typing "/foo<CR>".

Start search here

{{{
   fold1
   foo
   fold1
}}}
{{{
   fold2
   foo
   fold2
}}}
{{{
   fold3
   foo
   fold3
}}}

-- 
JR
 vim: fdm=marker

Reply via email to