1

Re: errors in vim folding commands

I've not looked into the VS.NET APIs yet, so I'm not sure if this is possible to do, but I often use the following commands:

zo              Open one fold under the cursor.  When a count is given, that
                many folds deep will be opened.  In Visual mode one level of
                folds is opened for all lines in the selected area.

zO              Open all folds under the cursor recursively.  Folds that don't
                contain the cursor line are unchanged.
                In Visual mode it opens all folds that are in the selected
                area, also those that are only partly selected.

zc              Close one fold under the cursor.  When a count is given, that
                many folds deep are closed.  In Visual mode one level of folds
                is closed for all lines in the selected area.

zC              Close all folds under the cursor recursively.  Folds that
                don't contain the cursor line are unchanged.
                In Visual mode it closes all folds that are in the selected
                area, also those that are only partly selected.

zm              Fold more: Subtract one from 'foldlevel'.  If 'foldlevel' was
                already zero nothing happens.
                'foldenable' will be set.

zM              Close all folds: set 'foldlevel' to 0.

zr              Reduce folding: Add one to 'foldlevel'.

zR              Open all folds.  This sets 'foldlevel' to highest fold level.

I found that zR, zM work fine.

zc, zo seem to do a toggle, and not an always close and always open. they seem to do what za should (and does) do.

zO, zC, zr, zm do nothing it seems.

There are other folding commands, but these are the ones I use the most.

Can you please look into fixing this behavior?  I wish this project was open source so I could contribute!

2

Re: errors in vim folding commands

I'll have a look at the folding commands. And if ViEmu were open source, I wouldn't have been able to put in the huge amount of effort I've done so far! Registering the product is the best and most welcome contribution.

Thanks,

  Jon

3

Re: errors in vim folding commands

I'll second this feature request.

4

Re: errors in vim folding commands

I'll try to get in support for these in one of the next major revisions.

Thanks for the feedback,

  Jon