-
Notifications
You must be signed in to change notification settings - Fork 2
/
Default (Linux).sublime-keymap
38 lines (38 loc) · 2.09 KB
/
Default (Linux).sublime-keymap
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
[
{ "keys": ["!"], "command": "blade_spacer_five", "context": [
{ "key": "selector", "operator": "equal", "operand": "embedding.php,text.html.blade,text.html.vue" },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\{!$", "match_all": true }
]
},
{ "keys": ["!"], "command": "blade_spacer_five_selection", "context": [
{ "key": "selector", "operator": "equal", "operand": "embedding.php,text.html.blade,text.html.vue" },
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\{", "match_all": true }
]
},
{ "keys": ["-"], "command": "blade_spacer_comment", "context": [
{ "key": "selector", "operator": "equal", "operand": "embedding.php,text.html.blade,text.html.vue" },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\{\\{\\s-", "match_all": true }
]
},
{ "keys": ["-"], "command": "blade_spacer_comment_selection", "context": [
{ "key": "selector", "operator": "equal", "operand": "embedding.php,text.html.blade,text.html.vue" },
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\{\\{\\s", "match_all": true }
]
},
{ "keys": ["{"], "command": "blade_spacer", "context": [
{ "key": "selector", "operator": "equal", "operand": "embedding.php,text.html.blade,text.html.vue" },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "(for(each)?|if|switch|while)[^\\{]+$", "match_all": true }
]
},
{ "keys": ["{"], "command": "wrap_block", "args": {"begin": "{", "end": "}"}, "context":
[
{ "key": "indented_block", "match_all": true },
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_match", "operand": "^$", "match_all": true }
]
}
]