You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit replaces "Toggle Folding Current Section" via `shift+tab`
by separate fold/unfold commands bound to default key combinations.
- `primary+shift+[` => `mde_fold_section` => fold current section
- `primary+shift+]` => `mde_unfold_section` => unfold current section
Fixes conflicts with `shift+tab` being also used to unindent text,
which caused unexpected folding in various situations.
Copy file name to clipboardExpand all lines: docs/usage.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,14 +133,21 @@ Adding or removing `#` at the beginning of lines also modifies heading levels im
133
133
134
134
Irrelevant sections of documents can be folded/collapsed via Command Palette:
135
135
136
-
* **MarkdownEditing: Toggle Folding Current Section**
137
-
Whether child sections are folded or unfolded as well depends on folding level defined by calling one of the following commands.
136
+
* **MarkdownEditing: Fold Current Section**
137
+
Whether child sections are folded depends on folding level defined by calling one of the following commands.
138
138
139
-
If `Fold All Sections` was called before _("outline mode" is active)_, the region between current and following sibling or child heading is (un)folded only.
139
+
If `Fold All Sections` was called before _("outline mode" is active)_, the region between current and following sibling or child heading is folded only.
140
+
141
+
If `Unfold All Sections` was called before, all child sections are folded.
142
+
143
+
* **MarkdownEditing: Unfold Current Section**
144
+
Whether child sections are unfolded depends on folding level defined by calling one of the following commands.
145
+
146
+
If `Fold All Sections` was called before _("outline mode" is active)_, the region between current and following sibling or child heading is unfolded only.
140
147
141
148
If `Fold Level 1-6 Sections` was called before, all child sections with lower level keep folded when unfolding their parent section.
142
149
143
-
If `Unfold All Sections` was called before, all child sections are (un)folded.
150
+
If `Unfold All Sections` was called before, all child sections are unfolded.
144
151
145
152
* **MarkdownEditing: Fold Level 1-6 Sections**
146
153
Folds all sections of headings of specific level. Also hides lower level headings.
@@ -158,7 +165,8 @@ Folding is bound to following keys by default:
| <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Tab</kbd> | <kbd>^</kbd> + <kbd>⇧</kbd> + <kbd>Tab</kbd> | Fold all sections under headings of a certain level.
0 commit comments