roam-toolkit icon indicating copy to clipboard operation
roam-toolkit copied to clipboard

Fold/unfold stuff

Open houshuang opened this issue 5 years ago • 2 comments
trafficstars

I haven't looked in detail at how easy this would be to control, but I would love some better keyboard controls for folding and unfolding. Primarily unfold all (because currently imports are collapsed, which is very annoying), but also collapse all on the whole page. Same at the current block level (maybe collapse all children, expand all children, or collapse/expand current block up to the top level bullet, but not whole page).

Perhaps we can take inspiration from folding in Vim etc.

Feasible? Happy to help test etc.

houshuang avatar Feb 11 '20 06:02 houshuang

well, I can think of at least 1 way of making it work so It's feasible (simulating mouse clicks is that method, nos sure how well it'd work though :p)

maybe there is a better way too, would require digging deeper to figure out

Stvad avatar Feb 11 '20 07:02 Stvad

This was done in #63; z is the key for it.

burke avatar Oct 29 '20 14:10 burke