Mac keymap: restore old shortcut for rerun tests
[idea/community.git] / platform / platform-resources / src / idea / Keymap_Mac.xml
1 <component>
2   <keymap name="Mac OS X 10.5+" parent="$default" version="1" disable-mnemonics="true">
3     <action id="FileChooser.TogglePathShowing">
4       <keyboard-shortcut first-keystroke="meta P"/>
5     </action>
6
7     <action id="$Delete">
8       <keyboard-shortcut first-keystroke="DELETE"/>
9       <keyboard-shortcut first-keystroke="BACK_SPACE"/>
10     </action>
11
12     <action id="EditorDelete">
13       <keyboard-shortcut first-keystroke="DELETE"/>
14     </action>
15
16     <action id="EditorBackSpace">
17       <keyboard-shortcut first-keystroke="BACK_SPACE"/>
18       <keyboard-shortcut first-keystroke="shift BACK_SPACE"/>
19     </action>
20
21     <action id="NextSplitter">
22       <keyboard-shortcut first-keystroke="alt TAB"/>
23     </action>
24     <action id="PrevSplitter">
25       <keyboard-shortcut first-keystroke="alt shift TAB"/>
26     </action>
27
28     <action id="ShowSettings">
29       <keyboard-shortcut first-keystroke="meta COMMA"/>
30     </action>
31     <action id="ShowProjectStructureSettings">
32       <keyboard-shortcut first-keystroke="meta SEMICOLON"/>
33     </action>
34     <action id="EditorChooseLookupItemDot"><keyboard-shortcut first-keystroke="control PERIOD"/></action>
35     <action id="CodeCompletion">
36       <keyboard-shortcut first-keystroke="control SPACE"/>
37     </action>
38     <action id="ClassNameCompletion">
39       <keyboard-shortcut first-keystroke="control alt SPACE"/>
40     </action>
41     <action id="SmartTypeCompletion">
42       <keyboard-shortcut first-keystroke="control shift SPACE"/>
43     </action>
44     <action id="PreviousEditorTab">
45       <keyboard-shortcut first-keystroke="control shift LEFT"/>
46     </action>
47     <action id="EditorPreviousWord">
48       <keyboard-shortcut first-keystroke="alt LEFT"/>
49     </action>
50     <action id="QuickJavaDoc">
51       <keyboard-shortcut first-keystroke="F1"/>
52       <keyboard-shortcut first-keystroke="control J"/>
53       <mouse-shortcut keystroke="control button2"/>
54     </action>
55     <action id="SafeDelete">
56       <keyboard-shortcut first-keystroke="meta DELETE"/>
57       <keyboard-shortcut first-keystroke="meta BACK_SPACE"/>
58     </action>
59     <action id="RemoveFromFavorites">
60       <keyboard-shortcut first-keystroke="control DELETE"/>
61     </action>
62     <action id="EditorDeleteToWordStart">
63       <keyboard-shortcut first-keystroke="alt BACK_SPACE"/>
64     </action>
65     <action id="EditorDeleteToWordEnd">
66       <keyboard-shortcut first-keystroke="alt DELETE"/>
67     </action>
68     <action id="DebugClass"/>
69     <action id="EditorStartNewLine">
70       <keyboard-shortcut first-keystroke="shift ENTER"/>
71     </action>
72     <action id="ExternalJavaDoc">
73       <keyboard-shortcut first-keystroke="shift F1"/>
74     </action>
75     <action id="EditorContextInfo">
76       <keyboard-shortcut first-keystroke="control shift Q"/>
77     </action>
78     <action id="MethodDown">
79       <keyboard-shortcut first-keystroke="control DOWN"/>
80     </action>
81     <action id="EditorPreviousWordWithSelection">
82       <keyboard-shortcut first-keystroke="alt shift LEFT"/>
83     </action>
84     <action id="RunGc"/>
85     <action id="RunClass"/>
86
87     <action id="GotoBookmark0">
88       <keyboard-shortcut first-keystroke="control 0"/>
89     </action>
90     <action id="GotoBookmark1">
91       <keyboard-shortcut first-keystroke="control 1"/>
92     </action>
93     <action id="GotoBookmark2">
94       <keyboard-shortcut first-keystroke="control 2"/>
95     </action>
96     <action id="GotoBookmark3">
97       <keyboard-shortcut first-keystroke="control 3"/>
98     </action>
99     <action id="GotoBookmark4">
100       <keyboard-shortcut first-keystroke="control 4"/>
101     </action>
102     <action id="GotoBookmark5">
103       <keyboard-shortcut first-keystroke="control 5"/>
104     </action>
105     <action id="GotoBookmark6">
106       <keyboard-shortcut first-keystroke="control 6"/>
107     </action>
108     <action id="GotoBookmark7">
109       <keyboard-shortcut first-keystroke="control 7"/>
110     </action>
111     <action id="GotoBookmark8">
112       <keyboard-shortcut first-keystroke="control 8"/>
113     </action>
114     <action id="GotoBookmark9">
115       <keyboard-shortcut first-keystroke="control 9"/>
116     </action>
117
118     <action id="ToggleBookmark0">
119       <keyboard-shortcut first-keystroke="control shift 0"/>
120     </action>
121     <action id="ToggleBookmark1">
122       <keyboard-shortcut first-keystroke="control shift 1"/>
123     </action>
124     <action id="ToggleBookmark2">
125       <keyboard-shortcut first-keystroke="control shift 2"/>
126     </action>
127     <action id="ToggleBookmark3">
128       <keyboard-shortcut first-keystroke="control shift 3"/>
129     </action>
130     <action id="ToggleBookmark4">
131       <keyboard-shortcut first-keystroke="control shift 4"/>
132     </action>
133     <action id="ToggleBookmark5">
134       <keyboard-shortcut first-keystroke="control shift 5"/>
135     </action>
136     <action id="ToggleBookmark6">
137       <keyboard-shortcut first-keystroke="control shift 6"/>
138     </action>
139     <action id="ToggleBookmark7">
140       <keyboard-shortcut first-keystroke="control shift 7"/>
141     </action>
142     <action id="ToggleBookmark8">
143       <keyboard-shortcut first-keystroke="control shift 8"/>
144     </action>
145     <action id="ToggleBookmark9">
146       <keyboard-shortcut first-keystroke="control shift 9"/>
147     </action>
148     
149     <action id="MethodUp">
150       <keyboard-shortcut first-keystroke="control UP"/>
151     </action>
152     <action id="ShowContent">
153       <keyboard-shortcut first-keystroke="control DOWN"/>
154     </action>
155     <action id="NextEditorTab">
156       <keyboard-shortcut first-keystroke="control shift RIGHT"/>
157     </action>
158     <action id="TogglePopupHints"/>
159     <action id="EditorNextWordWithSelection">
160       <keyboard-shortcut first-keystroke="alt shift RIGHT"/>
161     </action>
162     <action id="EditorNextWord">
163       <keyboard-shortcut first-keystroke="alt RIGHT"/>
164     </action>
165     <action id="EditorLineStart">
166       <keyboard-shortcut first-keystroke="HOME"/>
167       <keyboard-shortcut first-keystroke="meta LEFT"/>
168     </action>
169     <action id="ValidateXml"/>
170     <action id="TypeHierarchy">
171       <keyboard-shortcut first-keystroke="control H"/>
172     </action>
173     <action id="ToggleReadOnlyAttribute"/>
174     <action id="ShowPopupMenu"/>
175     <action id="EditorLineStartWithSelection">
176       <keyboard-shortcut first-keystroke="shift HOME"/>
177       <keyboard-shortcut first-keystroke="meta shift LEFT"/>
178     </action>
179     <action id="ContextHelp">
180     </action>
181     <action id="ActivateMessagesToolWindow">
182       <keyboard-shortcut first-keystroke="meta 0"/>
183     </action>
184     <action id="NewElement">
185       <keyboard-shortcut first-keystroke="meta N"/>
186       <keyboard-shortcut first-keystroke="control ENTER"/>
187     </action>
188     <action id="NewElementSamePlace">
189       <keyboard-shortcut first-keystroke="control alt N"/>
190     </action>
191     <action id="ActivateProjectToolWindow">
192       <keyboard-shortcut first-keystroke="meta 1"/>
193     </action>
194     <action id="ActivateFavoritesToolWindow">
195       <keyboard-shortcut first-keystroke="meta 2"/>
196     </action>
197     <action id="ActivateFindToolWindow">
198       <keyboard-shortcut first-keystroke="meta 3"/>
199     </action>
200     <action id="ActivateRunToolWindow">
201       <keyboard-shortcut first-keystroke="meta 4"/>
202     </action>
203     <action id="ActivateDebugToolWindow">
204       <keyboard-shortcut first-keystroke="meta 5"/>
205     </action>
206     <action id="ActivateTODOToolWindow">
207       <keyboard-shortcut first-keystroke="meta 6"/>
208     </action>
209     <action id="ActivateStructureToolWindow">
210       <keyboard-shortcut first-keystroke="meta 7"/>
211     </action>
212     <action id="ActivateHierarchyToolWindow">
213       <keyboard-shortcut first-keystroke="meta 8"/>
214     </action>
215     <action id="ActivateChangesToolWindow">
216       <keyboard-shortcut first-keystroke="meta 9"/>
217     </action>
218     <action id="Generate">
219       <keyboard-shortcut first-keystroke="meta N"/>
220       <keyboard-shortcut first-keystroke="control ENTER"/>
221     </action>
222     <action id="EditorToggleColumnMode">
223       <keyboard-shortcut first-keystroke="shift meta 8" />
224       <keyboard-shortcut first-keystroke="shift meta MULTIPLY" />
225     </action>
226     <action id="EditorLineEndWithSelection">
227       <keyboard-shortcut first-keystroke="shift END"/>
228       <keyboard-shortcut first-keystroke="meta shift RIGHT"/>
229     </action>
230     <action id="ExportToTextFile">
231       <keyboard-shortcut first-keystroke="control O"/>
232     </action>
233     <action id="EditorLineEnd">
234       <keyboard-shortcut first-keystroke="END"/>
235       <keyboard-shortcut first-keystroke="meta RIGHT"/>
236     </action>
237     <action id="Exit">
238       <keyboard-shortcut first-keystroke="meta Q"/>
239     </action>
240     <action id="GotoTypeDeclaration">
241       <keyboard-shortcut first-keystroke="meta shift B"/>
242       <keyboard-shortcut first-keystroke="control shift B"/>
243       <mouse-shortcut keystroke="meta shift button1"/>
244       <mouse-shortcut keystroke="shift button2"/>
245     </action>
246
247     <action id="EditorJoinLines">
248       <keyboard-shortcut first-keystroke="control shift J"/>
249     </action>
250     <action id="FindNext">
251       <keyboard-shortcut first-keystroke="F3"/>
252       <keyboard-shortcut first-keystroke="control L"/>
253     </action>
254     <action id="FindPrevious">
255       <keyboard-shortcut first-keystroke="shift F3"/>
256       <keyboard-shortcut first-keystroke="control shift L"/>
257     </action>
258
259     <action id="VcsShowNextChangeMarker">
260       <keyboard-shortcut first-keystroke="shift control alt DOWN"/>
261     </action>
262     <action id="VcsShowPrevChangeMarker">
263       <keyboard-shortcut first-keystroke="shift control alt UP"/>
264     </action>
265     <action id="CallHierarchy">
266       <keyboard-shortcut first-keystroke="control alt H"/>
267     </action>
268
269     <action id="CommentByBlockComment">
270       <keyboard-shortcut first-keystroke="meta alt SLASH"/>
271       <keyboard-shortcut first-keystroke="meta alt DIVIDE"/>
272       <keyboard-shortcut first-keystroke="control shift SLASH"/>
273       <keyboard-shortcut first-keystroke="control shift DIVIDE"/>
274       <keyboard-shortcut first-keystroke="meta shift SLASH"/>
275       <keyboard-shortcut first-keystroke="meta shift DIVIDE"/>
276       <keyboard-shortcut first-keystroke="meta shift DIVIDE"/>
277     </action>
278
279     <action id="Refresh">
280       <keyboard-shortcut first-keystroke="meta R"/>
281     </action>
282     <action id="Rerun">
283       <keyboard-shortcut first-keystroke="meta R"/>
284     </action>
285     <action id="RerunTests">
286       <keyboard-shortcut first-keystroke="control meta R"/>
287       <keyboard-shortcut first-keystroke="shift alt R"/>
288     </action>
289     <action id="RunClass">
290       <keyboard-shortcut first-keystroke="control shift F10"/>
291     </action>
292     <action id="DebugClass">
293       <keyboard-shortcut first-keystroke="control shift F9"/>
294     </action>
295     <action id="TestGestureAction">
296       <keyboard-gesture-shortcut keystroke="meta 1" modifier="dblClick"/>
297     </action>
298     <action id="Switcher">
299       <keyboard-shortcut first-keystroke="ctrl TAB"/>
300       <keyboard-shortcut first-keystroke="ctrl shift TAB"/>
301     </action>
302     <action id="Vcs.QuickListPopupAction">
303       <keyboard-shortcut first-keystroke="ctrl V" />
304     </action>
305     <action id="VcsHistory.ShowAllAffected">
306       <keyboard-shortcut first-keystroke="meta ctrl A" />
307     </action>
308
309     <action id="EditorSelectWord">
310       <keyboard-shortcut first-keystroke="alt UP"/>
311     </action>
312     <action id="EditorUnSelectWord">
313       <keyboard-shortcut first-keystroke="alt DOWN"/>
314     </action>
315
316     <action id="EditorChooseLookupItemAlways">
317       <keyboard-shortcut first-keystroke="control ENTER"/>
318     </action>
319
320     <action id="EditorLookupUp"> <keyboard-shortcut first-keystroke="control UP"/> </action>
321     <action id="EditorLookupDown"> <keyboard-shortcut first-keystroke="control DOWN"/> </action>
322
323     <action id="EditorDeleteToWordStart">
324       <keyboard-shortcut first-keystroke="alt BACK_SPACE"/>
325     </action>
326     <action id="EditorDeleteToWordEnd">
327       <keyboard-shortcut first-keystroke="alt DELETE"/>
328     </action>
329     <action id="EditorDeleteLine">
330       <keyboard-shortcut first-keystroke="meta BACK_SPACE"/>
331     </action>
332
333     <action id="CloseContent">
334       <keyboard-shortcut first-keystroke="meta W"/>
335     </action>
336     <action id="CloseActiveTab">
337       <keyboard-shortcut first-keystroke="control shift F4"/> <!-- TODO? -->
338     </action>
339
340
341     <action id="ReplaceInPath">
342       <keyboard-shortcut first-keystroke="meta shift R"/>
343     </action>
344     <action id="FindInPath">
345       <keyboard-shortcut first-keystroke="meta shift F"/>
346     </action>
347
348     <action id="Find">
349       <keyboard-shortcut first-keystroke="meta F"/>
350     </action>
351     <action id="FindNext">
352       <keyboard-shortcut first-keystroke="meta G"/>
353     </action>
354     <action id="FindPrevious">
355       <keyboard-shortcut first-keystroke="meta shift G"/>
356     </action>
357     
358     <action id="SelectNextOccurrence">
359       <keyboard-shortcut first-keystroke="control G"/>
360     </action>
361     <action id="UnselectPreviousOccurrence">
362       <keyboard-shortcut first-keystroke="control shift G"/>
363     </action>
364     <action id="SelectAllOccurrences">
365       <keyboard-shortcut first-keystroke="meta control G"/>
366     </action>
367
368     <action id="Run">
369       <keyboard-shortcut first-keystroke="control R"/>
370     </action>
371     <action id="Debug">
372       <keyboard-shortcut first-keystroke="control D"/>
373     </action>
374     <action id="Resume">
375       <keyboard-shortcut first-keystroke="meta alt R"/>
376     </action>
377
378     <action id="ChooseRunConfiguration">
379       <keyboard-shortcut first-keystroke="control alt R"/>
380     </action>
381     <action id="ChooseDebugConfiguration">
382       <keyboard-shortcut first-keystroke="control alt D"/>
383     </action>
384     <action id="RunClass">
385       <keyboard-shortcut first-keystroke="control shift R"/>
386     </action>
387     <action id="DebugClass">
388       <keyboard-shortcut first-keystroke="control shift D"/>
389     </action>
390
391     <action id="GotoClass">
392       <keyboard-shortcut first-keystroke="meta O"/>
393     </action>
394     <action id="GotoSymbol">
395       <keyboard-shortcut first-keystroke="meta alt O"/>
396     </action>
397     <action id="GotoFile">
398       <keyboard-shortcut first-keystroke="meta shift O"/>
399     </action>
400     <action id="GotoLine">
401       <keyboard-shortcut first-keystroke="meta L"/>
402     </action>
403     <action id="GotoRelated">
404       <keyboard-shortcut first-keystroke="control meta UP"/>
405     </action>
406     <action id="QuickImplementations">
407       <keyboard-shortcut first-keystroke="alt SPACE"/>
408       <keyboard-shortcut first-keystroke="meta Y"/>
409     </action>
410     <action id="EditSource">
411       <keyboard-shortcut first-keystroke="meta DOWN"/>
412       <keyboard-shortcut first-keystroke="F4"/>
413     </action>
414
415     <action id="ToggleBookmark">
416       <keyboard-shortcut first-keystroke="F3"/>
417     </action>
418     <action id="ToggleBookmarkWithMnemonic">
419       <keyboard-shortcut first-keystroke="alt F3"/>
420     </action>
421     <action id="ShowBookmarks">
422       <keyboard-shortcut first-keystroke="meta F3"/>
423     </action>
424
425     <action id="ImplementMethods">
426       <keyboard-shortcut first-keystroke="control I"/>
427     </action>
428     <action id="OverrideMethods">
429       <keyboard-shortcut first-keystroke="control O"/>
430     </action>
431     <action id="OptimizeImports">
432       <keyboard-shortcut first-keystroke="control alt O"/>
433     </action>
434     <action id="AutoIndentLines">
435       <keyboard-shortcut first-keystroke="control alt I"/>
436     </action>
437
438     <action id="MinimizeCurrentWindow">
439       <keyboard-shortcut first-keystroke="meta M"/>
440     </action>
441
442     <action id="ToggleFullScreen">
443       <keyboard-shortcut first-keystroke="meta control F"/>
444     </action>
445
446     <action id="Vcs.ShowMessageHistory">
447       <keyboard-shortcut first-keystroke="control M"/>
448       <keyboard-shortcut first-keystroke="meta E"/>
449     </action>
450
451     <action id="ShowNavBar">
452       <keyboard-shortcut first-keystroke="meta UP"/>
453       <keyboard-shortcut first-keystroke="alt HOME"/>
454     </action>
455
456     <action id="Console.History.Next" /> <!-- Disables meta up -->
457     <action id="Console.History.Previous" /> <!-- Disables meta down -->
458     <action id="Console.TableResult.Reload" />
459
460
461     <action id="EditorScrollUp"/> <!-- Disables meta up -->
462     <action id="EditorScrollDown"/>  <!-- Disables meta down -->
463     <action id="FindWordAtCaret"/> <!-- Disables meta F3 -->
464     <action id="EditorScrollToCenter"/> <!-- Disables meta M -->
465
466     <action id="$Undo">
467       <keyboard-shortcut first-keystroke="meta Z"/> <!-- Disables alt backspace -->
468     </action>
469
470     <action id="QuickChangeScheme">
471       <keyboard-shortcut first-keystroke="control BACK_QUOTE"/>
472     </action>
473
474     <action id="context.save"/>
475     <action id="context.load"/>
476
477     <action id="PreviousTab">
478       <keyboard-shortcut first-keystroke="meta shift OPEN_BRACKET"/>
479       <keyboard-shortcut first-keystroke="control LEFT"/>
480     </action>
481     <action id="NextTab">
482       <keyboard-shortcut first-keystroke="meta shift CLOSE_BRACKET"/>
483       <keyboard-shortcut first-keystroke="control RIGHT"/>
484     </action>
485     <action id="EditorCodeBlockStart">
486       <keyboard-shortcut first-keystroke="meta alt OPEN_BRACKET"/>
487     </action>
488     <action id="EditorCodeBlockEnd">
489       <keyboard-shortcut first-keystroke="meta alt CLOSE_BRACKET"/>
490     </action>
491     <action id="EditorCodeBlockStartWithSelection">
492       <keyboard-shortcut first-keystroke="meta alt shift OPEN_BRACKET"/>
493     </action>
494     <action id="EditorCodeBlockEndWithSelection">
495       <keyboard-shortcut first-keystroke="meta alt shift CLOSE_BRACKET"/>
496     </action>
497     <action id="Back">
498       <keyboard-shortcut first-keystroke="meta OPEN_BRACKET"/>
499       <keyboard-shortcut first-keystroke="meta alt LEFT"/>
500       <mouse-shortcut keystroke="button4"/>
501     </action>
502     <action id="Forward">
503       <keyboard-shortcut first-keystroke="meta CLOSE_BRACKET"/>
504       <keyboard-shortcut first-keystroke="meta alt RIGHT"/>
505       <mouse-shortcut keystroke="button5"/>
506     </action>
507
508     <action id="NextProjectWindow">
509       <keyboard-shortcut first-keystroke="meta BACK_QUOTE"/>
510     </action>
511
512     <action id="PreviousProjectWindow">
513       <keyboard-shortcut first-keystroke="meta shift BACK_QUOTE"/>
514     </action>
515
516     <action id="EditorCutLineEnd">
517       <keyboard-shortcut first-keystroke="control K" />
518     </action>
519     <action id="EditorDown">
520       <keyboard-shortcut first-keystroke="DOWN" />
521       <keyboard-shortcut first-keystroke="control N" />
522     </action>
523     <action id="EditorLeft">
524       <keyboard-shortcut first-keystroke="LEFT" />
525       <keyboard-shortcut first-keystroke="control B" />
526     </action>
527     <action id="EditorLineEnd">
528       <keyboard-shortcut first-keystroke="END" />
529       <keyboard-shortcut first-keystroke="meta RIGHT" />
530       <keyboard-shortcut first-keystroke="control E" />
531     </action>
532     <action id="EditorLineStart">
533       <keyboard-shortcut first-keystroke="HOME" />
534       <keyboard-shortcut first-keystroke="meta LEFT" />
535       <keyboard-shortcut first-keystroke="control A" />
536     </action>
537     <action id="EditorRight">
538       <keyboard-shortcut first-keystroke="RIGHT" />
539       <keyboard-shortcut first-keystroke="control F" />
540     </action>
541     <action id="EditorToggleColumnMode">
542       <keyboard-shortcut first-keystroke="shift meta 8" />
543     </action>
544     <action id="EditorUp">
545       <keyboard-shortcut first-keystroke="UP" />
546       <keyboard-shortcut first-keystroke="control P" />
547     </action>
548
549     <action id="UsageView.Include">
550       <keyboard-shortcut first-keystroke="shift BACK_SPACE"/>
551     </action>
552
553     <action id ="Refactorings.QuickListPopupAction">
554       <keyboard-shortcut first-keystroke="control T"/>
555     </action>
556
557     <action id="NewScratchFile">
558       <keyboard-shortcut first-keystroke="meta shift N"/>
559     </action>
560   </keymap>
561 </component>