@@ -6,6 +6,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
6
6
{ "keys" : [" super+shift+n" ], "command" : " new_window" },
7
7
{ "keys" : [" super+shift+w" ], "command" : " close_window" },
8
8
{ "keys" : [" super+o" ], "command" : " prompt_open_file" },
9
+ { "keys" : [" super+shift+t" ], "command" : " reopen_last_file" },
9
10
{ "keys" : [" super+alt+up" ], "command" : " switch_file" , "args" : {"extensions" : [" cpp" , " cxx" , " cc" , " c" , " hpp" , " hxx" , " h" , " ipp" , " inl" , " m" , " mm" ]} },
10
11
{ "keys" : [" super+n" ], "command" : " new_file" },
11
12
{ "keys" : [" super+s" ], "command" : " save" },
@@ -90,6 +91,12 @@ and don't need to be repeated here. Anything listed here will take precedence, h
90
91
{ "key" : " setting.tab_completion" , "operator" : " equal" , "operand" : true }
91
92
]
92
93
},
94
+ { "keys" : [" tab" ], "command" : " replace_completion_with_next_completion" , "context" :
95
+ [
96
+ { "key" : " last_command" , "operator" : " equal" , "operand" : " insert_best_completion" },
97
+ { "key" : " setting.tab_completion" , "operator" : " equal" , "operand" : true }
98
+ ]
99
+ },
93
100
{ "keys" : [" tab" ], "command" : " reindent" , "context" :
94
101
[
95
102
{ "key" : " setting.auto_indent" , "operator" : " equal" , "operand" : true },
@@ -108,6 +115,12 @@ and don't need to be repeated here. Anything listed here will take precedence, h
108
115
{ "key" : " has_next_field" , "operator" : " equal" , "operand" : true }
109
116
]
110
117
},
118
+ { "keys" : [" tab" ], "command" : " commit_completion" , "context" :
119
+ [
120
+ { "key" : " auto_complete_visible" },
121
+ { "key" : " setting.auto_complete_commit_on_tab" }
122
+ ]
123
+ },
111
124
112
125
{ "keys" : [" shift+tab" ], "command" : " insert" , "args" : {"characters" : " \t " } },
113
126
{ "keys" : [" shift+tab" ], "command" : " unindent" , "context" :
@@ -132,12 +145,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
132
145
},
133
146
134
147
{ "keys" : [" super+l" ], "command" : " expand_selection" , "args" : {"to" : " line" } },
135
- { "keys" : [" super+d" ], "command" : " expand_selection" , "args" : {"to" : " word" } },
136
- { "keys" : [" super+d" ], "command" : " find_under_expand" , "context" :
137
- [
138
- { "key" : " selection_empty" , "operator" : " equal" , "operand" : false , "match_all" : true }
139
- ]
140
- },
148
+ { "keys" : [" super+d" ], "command" : " find_under_expand" },
141
149
{ "keys" : [" super+shift+space" ], "command" : " expand_selection" , "args" : {"to" : " scope" } },
142
150
{ "keys" : [" ctrl+shift+m" ], "command" : " expand_selection" , "args" : {"to" : " brackets" } },
143
151
{ "keys" : [" ctrl+m" ], "command" : " move_to" , "args" : {"to" : " brackets" } },
@@ -151,9 +159,15 @@ and don't need to be repeated here. Anything listed here will take precedence, h
151
159
152
160
{ "keys" : [" super+enter" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Add Line.sublime-macro" } },
153
161
{ "keys" : [" super+shift+enter" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Add Line Before.sublime-macro" } },
162
+ { "keys" : [" enter" ], "command" : " commit_completion" , "context" :
163
+ [
164
+ { "key" : " auto_complete_visible" },
165
+ { "key" : " setting.auto_complete_commit_on_tab" , "operand" : false }
166
+ ]
167
+ },
154
168
155
- { "keys" : [" super+p" ], "command" : " show_overlay" , "args" : {"overlay" : " goto" , "show_files" : true } },
156
169
{ "keys" : [" super+t" ], "command" : " show_overlay" , "args" : {"overlay" : " goto" , "show_files" : true } },
170
+ { "keys" : [" super+p" ], "command" : " show_overlay" , "args" : {"overlay" : " goto" , "show_files" : true } },
157
171
{ "keys" : [" super+shift+p" ], "command" : " show_overlay" , "args" : {"overlay" : " command_palette" } },
158
172
{ "keys" : [" super+ctrl+p" ], "command" : " prompt_select_project" },
159
173
{ "keys" : [" super+r" ], "command" : " show_overlay" , "args" : {"overlay" : " goto" , "text" : " @" } },
@@ -163,6 +177,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
163
177
{ "keys" : [" super+shift+i" ], "command" : " show_panel" , "args" : {"panel" : " incremental_find" , "reverse" :true } },
164
178
{ "keys" : [" super+f" ], "command" : " show_panel" , "args" : {"panel" : " find" } },
165
179
{ "keys" : [" super+alt+f" ], "command" : " show_panel" , "args" : {"panel" : " replace" } },
180
+ { "keys" : [" super+alt+e" ], "command" : " replace_next" },
166
181
{ "keys" : [" super+g" ], "command" : " find_next" },
167
182
{ "keys" : [" super+shift+g" ], "command" : " find_prev" },
168
183
{ "keys" : [" super+e" ], "command" : " slurp_find_string" },
@@ -192,21 +207,22 @@ and don't need to be repeated here. Anything listed here will take precedence, h
192
207
{ "keys" : [" super+j" ], "command" : " join_lines" },
193
208
{ "keys" : [" super+shift+d" ], "command" : " duplicate_line" },
194
209
195
- { "keys" : [" ctrl+backquote" ], "command" : " show_panel" , "args" : {"panel" : " console" } },
210
+ { "keys" : [" ctrl+backquote" ], "command" : " show_panel" , "args" : {"panel" : " console" , "toggle" : true } },
196
211
197
212
{ "keys" : [" ctrl+space" ], "command" : " auto_complete" },
198
213
{ "keys" : [" ctrl+space" ], "command" : " replace_completion_with_auto_complete" , "context" :
199
214
[
200
215
{ "key" : " last_command" , "operator" : " equal" , "operand" : " insert_best_completion" },
216
+ { "key" : " auto_complete_visible" , "operator" : " equal" , "operand" : false },
201
217
{ "key" : " setting.tab_completion" , "operator" : " equal" , "operand" : true }
202
218
]
203
219
},
204
220
205
221
{ "keys" : [" super+alt+p" ], "command" : " show_scope_name" },
206
222
{ "keys" : [" ctrl+shift+p" ], "command" : " show_scope_name" },
207
223
208
- { "keys" : [" super+b" ], "command" : " build" },
209
224
{ "keys" : [" f7" ], "command" : " build" },
225
+ { "keys" : [" super+b" ], "command" : " build" },
210
226
211
227
{ "keys" : [" ctrl+t" ], "command" : " transpose" },
212
228
@@ -465,6 +481,7 @@ and don't need to be repeated here. Anything listed here will take precedence, h
465
481
{ "keys" : [" ctrl+shift+2" ], "command" : " move_to_group" , "args" : { "group" : 1 } },
466
482
{ "keys" : [" ctrl+shift+3" ], "command" : " move_to_group" , "args" : { "group" : 2 } },
467
483
{ "keys" : [" ctrl+shift+4" ], "command" : " move_to_group" , "args" : { "group" : 3 } },
484
+ { "keys" : [" ctrl+0" ], "command" : " focus_side_bar" },
468
485
469
486
{ "keys" : [" super+1" ], "command" : " select_by_index" , "args" : { "index" : 0 } },
470
487
{ "keys" : [" super+2" ], "command" : " select_by_index" , "args" : { "index" : 1 } },
@@ -579,18 +596,20 @@ and don't need to be repeated here. Anything listed here will take precedence, h
579
596
580
597
{ "keys" : [" super+," ], "command" : " open_file" , "args" : {"file" : " ${packages}/User/Base File.sublime-settings" } },
581
598
582
- // These are OS X builtin commands, and don't need to be listed here, but
599
+ { "keys" : [" super+k" , " super+y" ], "command" : " yank" },
600
+ { "keys" : [" super+k" , " super+k" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard EOL.sublime-macro" } },
601
+ { "keys" : [" super+k" , " super+backspace" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard BOL.sublime-macro" } },
602
+ { "keys" : [" super+k" , " super+c" ], "command" : " show_at_center" },
603
+
604
+ // These are OS X built in commands, and don't need to be listed here, but
583
605
// doing so lets them show up in the menu
584
606
{ "keys" : [" ctrl+y" ], "command" : " yank" },
585
- { "keys" : [" ctrl+k" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard EOL.sublime-macro" } },
586
607
{ "keys" : [" super+backspace" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard BOL.sublime-macro" } },
608
+ // super+delete isn't a built in command, but makes sense anyway
609
+ { "keys" : [" super+delete" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard EOL.sublime-macro" } },
610
+ { "keys" : [" ctrl+k" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard EOL.sublime-macro" } },
587
611
{ "keys" : [" ctrl+l" ], "command" : " show_at_center" },
588
612
{ "keys" : [" ctrl+o" ], "command" : " insert_snippet" , "args" : { "contents" : " $0\n " } },
589
613
{ "keys" : [" ctrl+super+d" ], "command" : " noop" },
590
- { "keys" : [" ctrl+super+shift+d" ], "command" : " noop" },
591
-
592
- { "keys" : [" super+k" , " super+y" ], "command" : " yank" },
593
- { "keys" : [" super+k" , " super+k" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard EOL.sublime-macro" } },
594
- { "keys" : [" super+k" , " super+backspace" ], "command" : " run_macro_file" , "args" : {"file" : " Packages/Default/Delete to Hard BOL.sublime-macro" } },
595
- { "keys" : [" super+k" , " super+c" ], "command" : " show_at_center" }
614
+ { "keys" : [" ctrl+super+shift+d" ], "command" : " noop" }
596
615
]
0 commit comments