-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathDefault.sublime-keymap
More file actions
46 lines (46 loc) · 1.78 KB
/
Default.sublime-keymap
File metadata and controls
46 lines (46 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[
{
"keys": ["\""],
"command": "chain",
"args": {
"commands": [{
"command": "insert",
"args": {"characters": "\"\n" },
}, {
"command": "run_macro_file",
"args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"},
}, {
"command": "insert_snippet",
"args": {"contents": "$0\n\"@" },
}],
},
"context": [
{ "key": "selection_empty", "match_all": true },
{ "key": "selector", "operand": "source.powershell - comment - string", "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "@$", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "^[\"@]", "match_all": true },
]
},
{
"keys": ["'"],
"command": "chain",
"args": {
"commands": [{
"command": "insert",
"args": {"characters": "'\n" },
}, {
"command": "run_macro_file",
"args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"},
}, {
"command": "insert_snippet",
"args": {"contents": "$0\n'@" },
}],
},
"context": [
{ "key": "selection_empty", "match_all": true },
{ "key": "selector", "operand": "source.powershell - comment - string", "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "@$", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "^['@]", "match_all": true },
]
},
]