This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDefault (OSX).sublime-keymap
executable file
·93 lines (85 loc) · 3.85 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+r"], "command": "find_all_under" },
{ "keys": ["super+shift+m"], "command": "toggle_side_bar" },
{ "keys": ["super+ctrl+m"], "command": "reveal_in_side_bar"},
{ "keys": ["super+alt+i"], "command": "reindent" },
{ "keys": ["f2"], "command": "next_bookmark" },
{ "keys": ["shift+f2"], "command": "prev_bookmark" },
{ "keys": ["super+f2"], "command": "toggle_bookmark" },
{ "keys": ["super+shift+f2"], "command": "clear_bookmarks" },
{ "keys": ["alt+f2"], "command": "select_all_bookmarks" },
// selection (azerty keyboard)
{ "keys": ["alt+:", "q"], "command": "expand_selection_to_quotes"},
{ "keys": ["alt+:", "s"], "command": "expand_selection_to_whitespace"},
{ "keys": ["alt+:", "b"], "command": "expand_selection", "args": {"to": "brackets"} },
{ "keys": ["alt+:", "i"], "command": "expand_selection", "args": {"to": "indentation"} },
// Jump to next/prev empty line
{"keys": ["alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false}},
{"keys": ["alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true}},
// Focus (azerty keyboard)
{ "keys": ["super+shift+&"], "command": "focus_group", "args": { "group": 0 } },
{ "keys": ["super+shift+é"], "command": "focus_group", "args": { "group": 1 } },
{ "keys": ["super+shift+\""], "command": "focus_group", "args": { "group": 2 } },
{ "keys": ["super+shift+'"], "command": "focus_group", "args": { "group": 3 } },
// Move to group (azerty keyboard)
{ "keys": ["ctrl+&"], "command": "move_to_group", "args": { "group": 0 } },
{ "keys": ["ctrl+é"], "command": "move_to_group", "args": { "group": 1 } },
{ "keys": ["ctrl+\""], "command": "move_to_group", "args": { "group": 2 } },
{ "keys": ["ctrl+'"], "command": "move_to_group", "args": { "group": 3 } },
// (azerty keyboard)
{ "keys": ["super+à"], "command": "focus_side_bar" },
{ "keys": ["super+&"], "command": "select_by_index", "args": { "index": 0 } },
{ "keys": ["super+é"], "command": "select_by_index", "args": { "index": 1 } },
{ "keys": ["super+\""], "command": "select_by_index", "args": { "index": 2 } },
{ "keys": ["super+'"], "command": "select_by_index", "args": { "index": 3 } },
{ "keys": ["super+("], "command": "select_by_index", "args": { "index": 4 } },
{ "keys": ["super+§"], "command": "select_by_index", "args": { "index": 5 } },
{ "keys": ["super+è"], "command": "select_by_index", "args": { "index": 6 } },
{ "keys": ["super+!"], "command": "select_by_index", "args": { "index": 7 } },
{ "keys": ["super+ç"], "command": "select_by_index", "args": { "index": 8 } },
// Layout (azerty keyboard)
// 1 column
{
"keys": ["ctrl+shift+&"], "command": "set_layout",
"args": {
"cols": [0.0, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1]]
}
},
// 2 column
{
"keys": ["ctrl+shift+é"], "command": "set_layout",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
// 2 rows
{
"keys": ["ctrl+shift+\""], "command": "set_layout",
"args": {
"cols": [0.0, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells": [[0, 0, 1, 1], [0, 1, 1, 2]]
}
},
{
"keys": ["ctrl+shift+'"], "command": "set_layout",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.6, 1.0],
"cells": [[0, 0, 2, 1], [0, 1, 1, 2], [1, 1, 2, 2]]
}
},
// plugins
{ "keys": ["alt+d"], "command": "open_include"},
{ "keys": ["super+alt+f"], "command": "js_format" },
{ "keys": ["super+shift+j"], "command": "jshint" },
{ "keys": ["super+shift+l"], "command": "require_node" },
{ "keys": ["super+shift+d"], "command": "duplicate_lines" },
{ "keys": ["super+y"], "command": "goto_recent" },
{ "keys": ["ctrl+alt+x"], "command": "prefixr" }
]