Reputation: 9348
In SublimeText3, keyboard shortcut "Ctrl + Shift + [" is used to fold lines selected.
Even though the script file is saved. When the script file is closed, and opened again, the folded lines are automatically unfolded (like the lines had never been folded before).
Is there a way to keep the lines always folded?
Upvotes: 0
Views: 112
Reputation: 102892
I haven't used it myself, but it looks like the AutoFoldCode
plugin is what you're looking for. It acts on all open files, which could be annoying. It also optionally remembers selections from session to session, which could also be useful.
Upvotes: 1