forked from maltize/sublime-text-2-ruby-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default (Windows).sublime-keymap
43 lines (34 loc) · 1.56 KB
/
Default (Windows).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
[
{ "keys": ["ctrl+shift+r"], "command": "run_single_ruby_test",
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.ruby, source.rspec, text.gherkin.feature"
} ]
}, // single test
{ "keys": ["ctrl+shift+t"], "command": "run_all_ruby_test",
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.ruby, source.rspec, text.gherkin.feature"
} ]
}, // test file
{ "keys": ["ctrl+shift+e"], "command": "run_last_ruby_test" }, // test last test file
{ "keys": ["ctrl+shift+x"], "command": "show_test_panel" }, // show test panel
{ "keys": ["alt+shift+v"], "command": "verify_ruby_file",
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.ruby"
} ]
}, // verify ruby syntax
{ "keys": ["ctrl+period"],
"command": "switch_between_code_and_test",
"args": {"split_view": false},
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.ruby, source.rspec, text.gherkin.feature"
} ]
}, // switch between code and test in single mode
{ "keys": ["ctrl+shift+period"],
"command": "switch_between_code_and_test",
"args": {"split_view": true},
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.ruby, source.rspec, text.gherkin.feature"
} ]
}, // switch between code and test in split view
{ "keys": ["ctrl+shift+c"], "command": "generate_file" } // create new file
]