Keybind to fold/unfold current scope(/s)

Hi. I recently started using kate since I’ve had to use a chromebook for some school work and I’ve found it to be amazing as a lightweight code editor with a big selection for customization.

I have one question for a feature however that I’m not sure if it exists and i just can’t find it, or it doesn’t exist at all, and that is the ability to set a keybind to fold/unfold the current scope that the cursor is in. Similar to VSCode’s default Ctrl+k feature, I’d love it if I could collapse the current scope I’m in to minimize to either mark that section/member/method as complete or just to minimize screen clutter. Does that option exist?

Also as a side question, I’d like to ask if there’s is the ability to collapse/fold every scope beside the current scope that the cursor is placed, and the ability to unfold every scope.

1 Like