-
Notifications
You must be signed in to change notification settings - Fork 280
/
Default (OSX).sublime-keymap
36 lines (35 loc) · 1.81 KB
/
Default (OSX).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
[
{ "keys": ["super+j"], "command": "jsdocs_join", "context":
[
{ "key": "selector", "operator": "equal", "operand": "comment.block" }
]
},
{ "keys": ["super+j"], "command": "jsdocs_join", "context":
[
{ "key": "selector", "operator": "equal", "operand": "comment.line" }
]
},
{ "keys": ["super+alt+q"], "command": "jsdocs_wrap_lines",
"context": [
{ "key": "selector", "operator": "equal", "operand": "comment.block", "match_all": true }
]
},
// add line after, in a DocBlock
{ "keys": ["super+enter"], "command": "run_macro_file", "args": {"file": "Packages/DocBlockr/Add DocBlockr Line.sublime-macro"},
"context": [
{ "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "comment.block", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\*", "match_all": true }
]
},
// add line before, in a DocBlock
{ "keys": ["super+shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/DocBlockr/Add DocBlockr Line Before.sublime-macro"},
"context": [
{ "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true },
{ "key": "selector", "operator": "equal", "operand": "comment.block", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\*", "match_all": true }
]
}
]