Skip to content

Commit feaa639

Browse files
committed
Merge branch 'st4-develop'
2 parents 6e7fe13 + 9ed7bdf commit feaa639

6 files changed

Lines changed: 50 additions & 13 deletions

File tree

Default (OSX).sublime-keymap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,15 +678,15 @@
678678
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }
679679
]
680680
},
681-
{ "keys": ["super+shift+["], "command": "mde_fold_section", "context":
681+
{ "keys": ["super+alt+["], "command": "mde_fold_section", "context":
682682
[
683683
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw - markup.list", "match_all": true },
684684
{ "key": "setting.mde.keymap_disable.fold_section", "operator": "not_equal", "operand": true },
685685
{ "key": "has_prev_field", "operator": "equal", "operand": false },
686686
{ "key": "overlay_visible", "operator": "equal", "operand": false }
687687
]
688688
},
689-
{ "keys": ["super+shift+]"], "command": "mde_unfold_section", "context":
689+
{ "keys": ["super+alt+]"], "command": "mde_unfold_section", "context":
690690
[
691691
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw - markup.list", "match_all": true },
692692
{ "key": "setting.mde.keymap_disable.fold_section", "operator": "not_equal", "operand": true },

docs/usage.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ or use one of the following bindings:
107107

108108
| Linux/Windows | MacOS | Description
109109
|---------------|-------|-------------
110-
| <kbd>Alt</kbd> + <kbd>k</kbd>, <kbd>Alt</kbd> + <kbd>0</kbd> | <kbd>^</kbd> + <kbd>k</kbd>, <kbd>^</kbd> + <kbd>0</kbd> | convert headings into normal text
111-
| <kbd>Alt</kbd> + <kbd>k</kbd>, <kbd>Alt</kbd> + <kbd>1..6</kbd> | <kbd>^</kbd> + <kbd>k</kbd>, <kbd>^</kbd> + <kbd>1..6</kbd> | set headings level to 1..6
112-
| <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>,</kbd> | <kbd>⇧</kbd> + <kbd>^</kbd> + <kbd>,</kbd> | reduce headings level by one
113-
| <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>.</kbd> | <kbd>⇧</kbd> + <kbd>^</kbd> + <kbd>.</kbd> | increase headings level by one
110+
| <kbd>Alt</kbd> + <kbd>k</kbd>, <kbd>Alt</kbd> + <kbd>0</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>0</kbd> | convert headings into normal text
111+
| <kbd>Alt</kbd> + <kbd>k</kbd>, <kbd>Alt</kbd> + <kbd>1..6</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>1..6</kbd> | set headings level to 1..6
112+
| <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>,</kbd> | <kbd>⇧</kbd> + <kbd></kbd> + <kbd>,</kbd> | reduce headings level by one
113+
| <kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>.</kbd> | <kbd>⇧</kbd> + <kbd></kbd> + <kbd>.</kbd> | increase headings level by one
114114

115115
Key bindings can be disabled via `"mde.keymap_disable.set_heading_level": true`.
116116

@@ -162,12 +162,12 @@ Folding is bound to following keys by default:
162162
163163
| Linux/Windows | MacOS | Description
164164
|---------------|-------|-------------
165-
| <kbd>Ctrl</kbd> + <kbd>k</kbd>, <kbd>Ctrl</kbd> + <kbd>0</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>0</kbd> | Unfold all sections
166-
| <kbd>Ctrl</kbd> + <kbd>k</kbd>, <kbd>Ctrl</kbd> + <kbd>1..6</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>1..6</kbd> | Fold sections by level 1..6
167-
| <kbd>Ctrl</kbd> + <kbd>k</kbd>, <kbd>Ctrl</kbd> + <kbd>9</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>9</kbd> | Fold all sections, but keep headings of any level visible
168-
| <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>[</kbd> | <kbd>^</kbd> + <kbd></kbd> + <kbd>Tab</kbd> | Fold current section.
169-
| <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>]</kbd> | <kbd>^</kbd> + <kbd></kbd> + <kbd>Tab</kbd> | Unfold current section.
170-
| <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.
165+
| <kbd>Ctrl</kbd> + <kbd>k</kbd>, <kbd>Ctrl</kbd> + <kbd>0</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>0</kbd> | Unfold all sections
166+
| <kbd>Ctrl</kbd> + <kbd>k</kbd>, <kbd>Ctrl</kbd> + <kbd>1..6</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>1..6</kbd> | Fold sections by level 1..6
167+
| <kbd>Ctrl</kbd> + <kbd>k</kbd>, <kbd>Ctrl</kbd> + <kbd>9</kbd> | <kbd></kbd> + <kbd>k</kbd>, <kbd></kbd> + <kbd>9</kbd> | Fold all sections, but keep headings of any level visible
168+
| <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>[</kbd> | <kbd></kbd> + <kbd></kbd> + <kbd>Tab</kbd> | Fold current section.
169+
| <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>]</kbd> | <kbd></kbd> + <kbd></kbd> + <kbd>Tab</kbd> | Unfold current section.
170+
| <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.
171171
172172
## Automatic Link Url Folding
173173

messages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@
4343
"3.1.6": "messages/3.1.6.md",
4444
"3.1.7": "messages/3.1.7.md",
4545
"3.1.8": "messages/3.1.8.md",
46-
"3.1.9": "messages/3.1.9.md"
46+
"3.1.9": "messages/3.1.9.md",
47+
"3.1.10": "messages/3.1.10.md"
4748
}

messages/3.1.10.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# MarkdownEditing 3.1.10 Changelog
2+
3+
Your _MarkdownEditing_ plugin is updated. Enjoy new version. For any type of
4+
feedback you can use [GitHub issues][issues].
5+
6+
## Bug Fixes
7+
8+
* Fix MacOs fold/unfold section key bindings (#724)
9+
10+
## New Features
11+
12+
* Add snippets for GitHub admonitions
13+
- ghnote - Note
14+
- ghwarn - Warning
15+
16+
## Changes
17+
18+
[issues]: https://github.com/SublimeText-Markdown/MarkdownEditing/issues
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[> **Note**
3+
>
4+
> ${0:enter text}
5+
]]></content>
6+
<tabTrigger>ghnote</tabTrigger>
7+
<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
8+
<description>Markdown Admonition</description>
9+
</snippet>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[> **Warning**
3+
>
4+
> ${0:enter text}
5+
]]></content>
6+
<tabTrigger>ghwarn</tabTrigger>
7+
<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
8+
<description>Markdown Admonition</description>
9+
</snippet>

0 commit comments

Comments
 (0)