Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

There are a few issues still, obviously šŸ˜…

One has to do with the first heading in a file, when the file has no frontmatter, and no content before the heading. I think I have a fix/workaround for this.

The other one, sub-headings getting unfolded, is a little misleading, I think. It may depend on how you unfold it, and the content of the folded area.

Headings unfold automatically when the cursor moves into the folded content. If you fold a heading, and then press the left arrow key to move into the folded area (from the right side), youā€™re actually moving into last character of the folded content (which in that case is inside ### Heading... which is inside ## Bug?, so they all get unfolded at once).

If you double click the # heading prefix, or use a shortcut key to unfold the first heading only, or click the fold placeholder, I think you wonā€™t see the recursive unfold youā€™re seeing now.

Thereā€™s some misleading behavior for unfolding as well, that I want to fix. If your cursor is after the fold marker, the unfold key wonā€™t affect that line, but will if you use the command from before the fold marker.

Iā€™m not super happy with that behavior overall, and want to change it in the future.

Thereā€™s another bug (that this exposed) where you may see two headings on a single line when using fold all. I think I have a fix for that one as well.

donā€™t you think that the shortcut to fold the current selection, should unfold the selection too

Thereā€™s a separate shortcut for that! ā€¦ but not in the default bindings.

With emacs bindings, itā€™s C-x C-e, with vim it will be za. I need to add one for the default bindings as well, but havenā€™t decided on the key to use for it, that wonā€™t interfere with default bindings, or come as a big surprise. By default, I donā€™t believe sublime (which the default bindings are based on) supports a fold-toggling key.

Thanks again!