forked from astrauka/TestRSpec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDefault.sublime-keymap
48 lines (43 loc) · 1005 Bytes
/
Default.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
[
// test current line
{
"keys": ["super+shift+r"],
"command": "test_current_line",
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "source.ruby, source.rspec"
}
]
},
// test current file
{
"keys": ["super+shift+t"],
"command": "test_current_file",
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "source.ruby, source.rspec"
}
]
},
// run last spec
{ "keys": ["super+shift+e"], "command": "run_last_spec" },
// display output panel
{ "keys": ["super+shift+x"], "command": "display_output_panel" },
// switch between code and test
{
"keys": ["super+period"],
"command": "switch_between_code_and_test",
"context": [
{
"key": "selector", "operator": "equal",
"operand": "source.ruby, source.rspec"
}
]
},
// create spec file
{ "keys": ["super+shift+c"], "command": "create_spec_file" },
]