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. -- hundred-and-one symptoms of being an internet addict: 78. You find yourself dialing IP numbers on the phone. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///