If I delete the fold symbol in sublimetext the whole folded text is deleted? I would prefer that the fold symbol unfolds before you can delete it (like in vim).
Is there a way to set the fold symbol in sublimetext read only?
225 views Asked by v217 At
2
If I understand you want to have the behavior, that it automatically unfolds if you are behind a fold and press backspace. This is easy to archive (in version 3125+) you just need to add a context and a command.
Create a plugin via Tools >> Developer >> New Plugin..., paste, and save:
add this to your keymap:
Now you should be fine.