jamalsenouci / sublimetext-syntaxfold

Sublime Text Plugin that provides a configurable command and popup for folding code based on syntax
MIT License
40 stars 6 forks source link

Feature: Toggle Current Fold #31

Open crispconcepts opened 6 years ago

crispconcepts commented 6 years ago

It'd be nice to have a single shortcut/keybind to toggle the fold rather than two separate keybinds for opening/closing specifically. If it's unfolded then fold it, if it's folded then unfold it.

AlLoud commented 6 years ago

Perhaps you installed an earlier version, the current version supports this already.

Toggle Fold Current: Folds/collapses or Unfolds/expands the syntax delimited block where the cursor is placed on.