-
Notifications
You must be signed in to change notification settings - Fork 1
/
Default (OSX).sublime-keymap
72 lines (63 loc) · 5.86 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[
// override defaults
{ "keys": ["super+ctrl+v"], "command": "unbound" },
{ "keys": ["super+ctrl+t"], "command": "unbound" },
{ "keys": ["super+t"], "command": "unbound" },
{ "keys": ["super+m"], "command": "unbound" },
{ "keys": ["super+shift+t"], "command": "unbound" },
{ "keys": ["super+shift+l"], "command": "reopen_last_file" },
{ "keys": ["super+j"], "command": "join_lines" },
{ "keys": ["super+ctrl+n"], "command": "new_os_tab" },
{ "keys": ["super+ctrl+]"], "command": "next_os_tab" },
{ "keys": ["super+ctrl+["], "command": "prev_os_tab" },
// advanced new file
{ "keys": ["super+alt+n"], "command": "advanced_new_file_new"},
// alignment
{ "keys": ["alt+ctrl+a"], "command": "alignment" },
// Rails app navigation
{ "keys": ["super+ctrl+j"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/assets/javascripts/"} },
{ "keys": ["super+ctrl+s"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/assets/stylesheets/"} },
{ "keys": ["super+ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "lib/tasks/"} },
{ "keys": ["super+ctrl+u"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/javascript/"} },
{ "keys": ["super+ctrl+v"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/views/"} },
// Rails app navigation (with tests)
{ "keys": ["super+t", "super+c"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/controllers/"} },
{ "keys": ["shift+super+t", "super+c"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/controllers/"} },
{ "keys": ["super+t", "super+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/core/"} },
{ "keys": ["shift+super+t", "super+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/core/"} },
{ "keys": ["super+t", "super+d"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/domain/"} },
{ "keys": ["shift+super+t", "super+d"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/domain/"} },
{ "keys": ["super+t", "super+a"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/handlers/"} },
{ "keys": ["shift+super+t", "super+a"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/handlers/"} },
{ "keys": ["super+t", "super+h"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/helpers/"} },
{ "keys": ["shift+super+t", "super+h"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/helpers/"} },
{ "keys": ["super+t", "super+m"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/models/"} },
{ "keys": ["shift+super+t", "super+m"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/models/"} },
{ "keys": ["super+t", "super+j"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/jobs/"} },
{ "keys": ["shift+super+t", "super+j"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/jobs/"} },
{ "keys": ["super+t", "super+l"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/lib/"} },
{ "keys": ["shift+super+t", "super+l"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/lib/"} },
{ "keys": ["super+t", "super+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/presenters/"} },
{ "keys": ["shift+super+t", "super+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/presenters/"} },
{ "keys": ["super+t", "super+q"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/queries/"} },
{ "keys": ["shift+super+t", "super+q"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/queries/"} },
{ "keys": ["super+t", "super+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/rules/"} },
{ "keys": ["shift+super+t", "super+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/rules/"} },
{ "keys": ["super+t", "super+z"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/serializers/"} },
{ "keys": ["shift+super+t", "super+z"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/serializers/"} },
{ "keys": ["super+t", "super+s"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/services/"} },
{ "keys": ["shift+super+t", "super+s"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/services/"} },
{ "keys": ["super+t", "super+v"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "app/view_objects/"} },
{ "keys": ["shift+super+t", "super+v"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true, "text": "test/view_objects/"} },
// Convert Ruby 1.8 hashes to Ruby 1.9 syntax
{ "keys": ["super+shift+h"], "command": "hash_syntax" },
// Convert Ruby blocks in brace to "do end" and vice versa
{ "keys": ["super+alt+left"], "command": "do_end_to_brace" },
{ "keys": ["super+alt+right"], "command": "brace_to_do_end" },
// Toggle string to symbol
{ "keys": ["super+shift+;"], "command": "toggle_symbol" },
// Close all other tabs
{ "keys": ["super+alt+w"], "command": "close_other_tabs" },
// alignment
{ "keys": ["super+alt+a"], "command": "alignment" }
]