Sublime Forum

How to toggle folding

#1

Hello!

I’d like to know if there is a way to toggle folding. That is, I press a key (F1 for example) to fold my code and press the same key again to unfold it.

Thanks

Anhil

0 Likes

#2

anhil, I’m not sure if you are still waiting for a response or not, but other people who get to this thread may still benefit from this.

I do not think there is a command built into sublime text that can do this. I will try to make a plugin and share the link when it’s done. It surprises me that there isn’t one already. It seems fairly simple to implement.

0 Likes