On 2006-05-09, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> Gary Johnson wrote:
> 
> > Summary:
> > 
> >     By default, :cn should open a closed fold, and when executed as 
> >     ":cn", it does so.  But when :cn is the rhs of a map and the lhs 
> >     of the map is typed, closed folds do not open.  I think :cn 
> >     should behave the same whether executed directly or as part of a 
> >     map.
> 
> Nope.  If you make a mapping you need to open folds in the mapping.
> 
> It's done this way to make it possible to move around in a mapping
> without folds opening everywhere.  It's simple to open a fold when you
> want to.

OK, I can understand that.

Per Nikolai's suggestion, I added zv at the end of the mappings, 
which seems to work fine.

Thank you both.

Regards,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to