-
Notifications
You must be signed in to change notification settings - Fork 1
/
Stata-ST3.sublime-keymap
50 lines (47 loc) · 1.13 KB
/
Stata-ST3.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
39
40
41
42
43
44
45
46
47
48
49
50
//============== Stata - ST3 ===================
// Stata shortcuts, in StataEditor
// remap StataEditor to mimic SendCode
// ctrl+d runs the current line and move to the
// next line (ST3 only)
{
"keys": ["ctrl+d"],
"command": "multicommand",
"args": {
"commands": [
{
"command": "stata_execute",
"args": {"Mode": "do", "Selection": "line"},
},
{
"command": "move_to",
"args": {"to": "hardeol"},
},
{
"command": "move",
"args": {"by": "lines", "forward": true},
},
{
"command": "move_to",
"args": {"to": "hardbol"},
},
],
},
"context":
[
{ "key": "selector", "operator": "equal",
"operand": "source.stata" }
],
},
// Run all lines of code in an entire file: ctrl+alt+d
{
"keys": ["ctrl+alt+d"],
"command": "stata_execute",
// changed. default is "selection_only"
"args": {"Mode": "do", "Selection": "default"},
"context":
[
{ "key": "selector", "operator": "equal",
"operand": "source.stata" }
],
},
]