|
125 | 125 |
|
126 | 126 | { "keys": ["`"], "command": "insert_snippet", "args": {"contents": "`$0`"}, "context": |
127 | 127 | [ |
128 | | - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw - markup.kbd", "match_all": true }, |
| 128 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw - markup.kbd", "match_all": true }, |
129 | 129 | { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true }, |
130 | 130 | { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
131 | 131 | { "key": "preceding_text", "operator": "not_regex_contains", "operand": "[\\w`]$", "match_all": true }, |
|
134 | 134 | }, |
135 | 135 | { "keys": ["`"], "command": "insert_snippet", "args": {"contents": "`${0:$SELECTION}`"}, "context": |
136 | 136 | [ |
137 | | - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw - markup.kbd", "match_all": true }, |
| 137 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw - markup.kbd", "match_all": true }, |
138 | 138 | { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true }, |
139 | 139 | { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } |
140 | 140 | ] |
141 | 141 | }, |
142 | 142 | { "keys": ["`"], "command": "move", "args": {"by": "characters", "forward": true}, "context": |
143 | 143 | [ |
144 | | - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw - markup.kbd", "match_all": true }, |
| 144 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown markup.raw - meta.code-fence - markup.raw.code-fence", "match_all": true }, |
145 | 145 | { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
146 | 146 | { "key": "following_text", "operator": "regex_contains", "operand": "^`", "match_all": true } |
147 | 147 | ] |
148 | 148 | }, |
149 | 149 | { "keys": ["backspace"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Left Right.sublime-macro"}, "context": |
150 | 150 | [ |
151 | | - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw - markup.kbd", "match_all": true }, |
| 151 | + { "key": "selector", "operator": "equal", "operand": "punctuation.definition.raw.begin.markdown", "match_all": true }, |
152 | 152 | { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true }, |
153 | 153 | { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
154 | 154 | { "key": "preceding_text", "operator": "regex_contains", "operand": "`$", "match_all": true }, |
|
0 commit comments