summaryrefslogtreecommitdiff
path: root/platform/testFramework/extensions/src/com/intellij/keymap/KeymapsTestCase.java
blob: 20d50cfd97bf0d566866bf3d65827465ab2373eb (plain)
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.keymap;

import org.jetbrains.annotations.NotNull;

import java.util.*;

public abstract class KeymapsTestCase extends KeymapsTestCaseBase {
  /**
   * This table lists known actions which use the same shortcut. Note that it's ok to add a new entry here only if you're sure that the
   * mentioned actions will never be enabled in the same context. Otherwise, users may get unexpected behavior when they try to use that
   * shortcut.
   */
  private static final Map<String, String[][]> DEFAULT_DUPLICATES = Map.ofEntries(
    Map.entry("$default", new String[][]{
      {"ADD",                      "ExpandTreeNode", "Graph.ZoomIn"},
      {"BACK_SPACE",               "EditorBackSpace", "FileChooserList.LevelUp", "JupyterNotebookDeleteCellCommandModeAction"},
      {"C",                        "Uml.CollapseNodes", "JupyterNotebookCopyCellCommandModeAction"},
      {"DELETE",                   "$Delete", "DatabaseView.DropAction", "JupyterNotebookDeleteCellCommandModeAction"},
      {"ENTER",                    "Console.Execute", "Console.TableResult.EditValue", "DirDiffMenu.SynchronizeDiff", "EditorChooseLookupItem",
                                   "EditorEnter", "NextTemplateVariable", "Git.Log.Branches.Change.Branch.Filter", "SplitChooser.Split",
                                   "JupyterMarkdownDestroyControllerAction"},
      {"ESCAPE",                   "CloseGotItTooltip", "EditorEscape", "FocusEditor", "Terminal.SwitchFocusToEditor"},
      {"F1",                       "ContextHelp", "org.jetbrains.r.actions.REditorHelpAction"},
      {"F2",                       "GotoNextError", "GuiDesigner.EditComponent", "GuiDesigner.EditGroup", "Console.TableResult.EditValue",
                                   "XDebugger.SetValue", "Git.Reword.Commit", "Git.Rename.Local.Branch", "ShelvedChanges.Rename", "ChangesView.Rename",
                                   "Table-startEditing", "Tree-startEditing"},
      {"F3",                       "FindNext", "PoToggleSelection"},
      {"F5",                       "Graph.RouteEdges", "CopyElement", "PoBrowserRefresh"},
      {"F7",                       "NextDiff", "StepInto"},
      {"INSERT",                   "EditorToggleInsertState", "UsageView.Include", "DomElementsTreeView.AddElement", "DomCollectionControl.Add",
                                   "XDebugger.NewWatch"},
      {"SPACE",                    "Console.TableResult.ColumnVisibility", "QuickPreview", "SplitChooser.SplitCenter", "CollapsiblePanel-toggle"},
      {"SUBTRACT",                 "CollapseTreeNode", "Graph.ZoomOut"},
      {"TAB",                      "EditorChooseLookupItemReplace", "NextTemplateVariable", "NextParameter", "EditorIndentSelection",
                                   "EditorTab", "ExpandLiveTemplateByTab", "BraceOrQuoteOut", "SplitChooser.NextWindow"},
      {"alt DOWN",                 "MethodDown", "ShowContent", "ShowSearchHistory", "JupyterNotebookMoveCellDownCommandModeAction"},
      {"alt ENTER",                "ShowIntentionActions", "Console.TableResult.EditValue"},
      {"alt F6",                   "CommanderSyncViews", "EditPropertyValue"},
      {"alt INSERT",               "FileChooser.NewFolder", "Generate", "NewElement"},
      {"alt J",                    "SelectNextOccurrence", "JupyterNotebookMoveCellDownCommandModeAction"},
      {"alt UP",                   "MethodUp", "JupyterNotebookMoveCellUpCommandModeAction"},
      {"alt button1",              "EditorCreateRectangularSelectionOnMouseDrag", "QuickEvaluateExpression"},
      {"alt shift LEFT",           "Diff.PrevChange", "PreviousEditorTab"},
      {"alt shift RIGHT",          "Diff.NextChange", "NextEditorTab"},
      {"button2",                  "EditorPasteFromX11", "GotoDeclaration", "EditorCreateRectangularSelectionOnMouseDrag"},
      {"control 1",                "FileChooser.GotoHome", "GotoBookmark1", "DuplicatesForm.SendToLeft"},
      {"control 2",                "FileChooser.GotoProject", "GotoBookmark2", "DuplicatesForm.SendToRight"},
      {"control 3",                "GotoBookmark3", "FileChooser.GotoModule"},
      {"control ADD",              "ExpandAll", "ExpandExpandableComponent", "ExpandRegion"},
      {"control B",                "GotoDeclaration", "org.intellij.plugins.markdown.ui.actions.styling.ToggleBoldAction"},
      {"control C",                "$Copy", "Terminal.CopySelectedText", "org.jetbrains.r.console.RConsoleView.RInterruptAction",
                                   "JupyterNotebookCopyCellCommandModeAction"},
      {"control D",                "EditorDuplicate", "Diff.ShowDiff", "CompareTwoFiles", "SendEOF", "FileChooser.GotoDesktop",
                                   "org.jetbrains.r.console.RConsoleView.REofAction"},
      {"control DIVIDE",           "CommentByLineComment", "Graph.ActualSize"},
      {"control DOWN",             "EditorScrollDown", "EditorLookupDown", "MethodOverloadSwitchDown", "NotebookSelectCellBelowAction"},
      {"control E",                "RecentFiles", "SwitcherIterateItems", "SwitcherRecentEditedChangedToggleCheckBox"},
      {"control ENTER",            "Console.Execute.Multiline", "DirDiffMenu.SynchronizeDiff.All", "EditorSplitLine", "NotebookRunCellAction",
                                   "PyExecuteCellAction", "SplitChooser.Duplicate", "Terminal.SmartCommandExecution.Run", "ViewSource",
                                   "org.jetbrains.r.actions.RunSelection", "Docker.RemoteServers.StartComposeService"},
      {"control EQUALS",           "ExpandAll", "ExpandExpandableComponent", "ExpandRegion"},
      {"control F5",               "Refresh", "Rerun"},
      {"control I",                "ImplementMethods", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"control INSERT",           "$Copy", "Terminal.CopySelectedText"},
      {"control M",                "EditorScrollToCenter", "Vcs.ShowMessageHistory"},
      {"control MINUS",            "CollapseAll", "CollapseExpandableComponent", "CollapseRegion"},
      {"control N",                "FileChooser.NewFolder", "GotoClass"},
      {"control P",                "FileChooser.TogglePathBar", "ParameterInfo"},
      {"control PERIOD",           "EditorChooseLookupItemDot", "CollapseSelection"},
      {"control R",                "Replace", "org.jetbrains.plugins.ruby.rails.console.ReloadSources"},
      {"control SLASH",            "CommentByLineComment", "Graph.ActualSize"},
      {"control SPACE",            "CodeCompletion", "ChangesView.SetDefault"},
      {"control SUBTRACT",         "CollapseAll", "CollapseExpandableComponent", "CollapseRegion"},
      {"control U",                "GotoSuperMethod", "CommanderSwapPanels", "org.intellij.plugins.markdown.ui.actions.styling.InsertImageAction"},
      {"control UP",               "EditorScrollUp", "EditorLookupUp", "MethodOverloadSwitchUp", "NotebookSelectCellAboveAction"},
      {"control V",                "$Paste", "Terminal.Paste", "JupyterNotebookPasteCellCommandModeAction"},
      {"control X",                "$Cut", "JupyterNotebookCutCellCommandModeAction"},
      {"control alt A",            "ChangesView.AddUnversioned", "Diagram.DeselectAll", "Diff.ApplyRightSide"},
      {"control alt B",            "GotoImplementation", "org.jetbrains.r.rendering.chunk.RunChunksAboveAction"},
      {"control alt D",            "Console.TableResult.SetDefault", "org.jetbrains.r.actions.RMarkdownInterruptAction"},
      {"control alt DOWN",         "NextOccurence", "Console.TableResult.NextPage"},
      {"control alt E",            "Console.History.Browse", "PerforceDirect.Edit", "ToggleFindInSelection"},
      {"control alt G",            "DatabaseView.SqlGenerator", "org.jetbrains.plugins.ruby.rails.actions.generators.GeneratorsPopupAction",
                                   "Mvc.RunTarget", "GoGenerateFileAction"},
      {"control alt I",            "AutoIndentLines", "RMarkdownNewChunk"},
      {"control alt K",            "Git.Commit.And.Push.Executor", "Hg.Commit.And.Push.Executor"},
      {"control alt N",            "Inline", "Console.TableResult.SetNull"},
      {"control alt R",            "Diff.ApplyLeftSide", "org.jetbrains.plugins.ruby.tasks.rake.actions.RakeTasksPopupAction", "Django.RunManageTaskAction"},
      {"control alt UP",           "PreviousOccurence", "Console.TableResult.PreviousPage"},
      {"control alt X",            SECOND_STROKE, "org.jetbrains.r.rendering.chunk.DebugChunkAction"},
      {"control alt Z",            "Vcs.RollbackChangedLines", "ChangesView.Revert"},
      {"control alt button1",      "GotoImplementation", "UiInspector"},
      {"ctrl L",                   "FindNext", "Terminal.ClearBuffer"},
      {"ctrl alt C",               "IntroduceConstant", "org.jetbrains.r.rendering.chunk.RunChunkAction"},
      {"ctrl alt ENTER",           "EditorStartNewLineBefore", "QuickActionPopup", "org.jetbrains.r.actions.DebugSelection"},
      {"ctrl alt F",               "IntroduceField", "ShowFilterPopup"},
      {"ctrl alt U",               "ShowUmlDiagramPopup", "ChangesView.UnshelveSilently"},
      {"shift DELETE",             "$Cut", "Maven.Uml.Exclude"},
      {"shift ENTER",              "CollapseExpandableComponent", "Console.TableResult.EditValueMaximized", "DatabaseView.PropertiesAction",
                                   "EditorStartNewLine", "ExpandExpandableComponent", "NotebookRunCellSelectBelowAction", "OpenInRightSplit",
                                   "RConsoleNextLineAction"},
      {"shift F4",                 "XDebugger.JumpToTypeSource", "EditSourceInNewWindow"},
      {"shift F6",                 "RenameElement", "Git.Reword.Commit", "Git.Rename.Local.Branch", "ShelvedChanges.Rename", "ChangesView.Rename"},
      {"shift F7",                 "PreviousDiff", "SmartStepInto"},
      {"shift DOWN",               "EditorDownWithSelection", "JupyterExpandSelectionToCellBelowCommandModeAction"},
      {"shift INSERT",             "$Paste", "Terminal.Paste"},
      {"shift LEFT",               "EditorLeftWithSelection", "JupyterExpandSelectionToCellAboveCommandModeAction"},
      {"shift M",                  "Graph.AlignNodes.Middle", "JupyterNotebookMergeSelectedCellsCommandModeAction"},
      {"shift RIGHT",              "EditorRightWithSelection", "JupyterExpandSelectionToCellBelowCommandModeAction"},
      {"shift TAB",                "PreviousTemplateVariable", "PrevParameter", "EditorUnindentSelection", "SplitChooser.PreviousWindow"},
      {"shift UP",                 "EditorUpWithSelection", "JupyterExpandSelectionToCellAboveCommandModeAction"},
      {"shift V",                  "Graph.DistributeNodes.Vertically", "JupyterNotebookPasteCellAboveCommandModeAction"},
      {"shift alt A",              "NotebookInsertCellAboveAction", "VcsHistory.ShowAllAffected"},
      {"shift alt B",              "NotebookInsertCellBelowAction", "tasks.open.in.browser", "sql.SelectInDatabaseView"},
      {"shift alt ENTER",          "Console.TableResult.EditValueMaximized", "JupyterDebugAction", "SplitChooser"},
      {"shift alt F7",             "ForceStepInto", "StepIntoMyCode"},
      {"shift alt G",              "EditorAddCaretPerSelectedLine", "hg4idea.QGotoFromPatches"},
      {"shift alt M",              "ChangesView.Move", "Vcs.MoveChangedLinesToChangelist"},
      {"shift control D",          "TagDocumentationNavigation", "Diff.ShowSettingsPopup", "Uml.ShowDiff", "Console.TableResult.CompareCells"},
      {"shift control ENTER",      "EditorCompleteStatement", "Console.Jpa.GenerateSql", "org.jetbrains.r.actions.RRunAction",
                                   "Terminal.SmartCommandExecution.Debug"},
      {"shift control F10",        "Console.Open", "RunClass", "RunTargetAction"},
      {"shift control F8",         "ViewBreakpoints", "EditBreakpoint"},
      {"shift control G",          "ClassTemplateNavigation", "GoToClass"},
      {"shift control H",          "ChangesView.ShelveSilently", "MethodHierarchy"},
      {"shift control M",          "EditorMatchBrace", "RInsertPipeAction"},
      {"shift control MINUS",      "CollapseAllRegions", "NotebookSplitCellAction"},
      {"shift control T",          "GotoTest", "ServiceView.ShowServices"},
      {"shift control TAB",        "Switcher", "Diff.FocusOppositePane"},
      {"shift control U",          "ShelveChanges.UnshelveWithDialog", "EditorToggleCase", "Markdown.Styling.CreateLink"},
      {"shift control V",          "PasteMultiple", "JupyterNotebookPasteCellAboveCommandModeAction"},
      {"shift control alt D",      "UML.ShowChanges", "Console.TableResult.CloneColumn"},
      {"shift control alt ENTER",  "Console.Jpa.GenerateDDL", "Console.TableResult.SubmitAndCommit", "Console.Transaction.Commit",
                                   "NotebookRunAllAction", "org.jetbrains.r.actions.RDebugAction"},
      {"shift control alt P",      "IntroduceFunctionalParameter", "ReformatWithPrettierAction", "GoFmtProjectAction"},
      {"shift ctrl C",             "CopyPaths", "DatabaseView.CopyDdlAction", "org.intellij.plugins.markdown.ui.actions.styling.ToggleCodeSpanAction"},
      {"shift ctrl alt C",         "CopyReference", "Gauge.Extract"},
      {"shift ctrl alt DOWN",      "ResizeToolWindowDown", "VcsShowNextChangeMarker"},
      {"shift ctrl alt F",         "DatabaseView.FullTextSearch", "Console.TableResult.EditFilterCriteria", "GoFmtFileAction", "TFFmtFileAction"},
      {"shift ctrl alt L",         "ShowReformatFileDialog", "Gauge.Format"},
      {"shift ctrl alt LEFT",      "MoveElementLeft", "ResizeToolWindowLeft"},
      {"shift ctrl alt S",         "ShowProjectStructureSettings", "GoShareInPlaygroundAction"},
      {"shift ctrl alt RIGHT",     "MoveElementRight", "ResizeToolWindowRight"},
      {"shift ctrl alt UP",        "ResizeToolWindowUp", "VcsShowPrevChangeMarker"},
    }),
    Map.entry("Mac OS X 10.5+", new String[][]{
      {"BACK_SPACE",               "$Delete", "EditorBackSpace", "JupyterNotebookDeleteCellCommandModeAction"},
      {"F1",                       "QuickJavaDoc", "org.jetbrains.r.actions.REditorHelpAction"},
      {"F3",                       "PoToggleSelection", "ToggleBookmark"},
      {"Force touch",              "GotoDeclaration", "RunToCursor"},
      {"alt DOWN",                 "EditorUnSelectWord", "MethodOverloadSwitchDown", "ShowSearchHistory", "JupyterNotebookMoveCellDownCommandModeAction"},
      {"alt R",                    "Django.RunManageTaskAction", "org.jetbrains.plugins.ruby.tasks.rake.actions.RakeTasksPopupAction"},
      {"alt UP",                   "EditorSelectWord", "MethodOverloadSwitchUp", "JupyterNotebookMoveCellUpCommandModeAction"},
      {"control D",                "Debug", "org.jetbrains.r.console.RConsoleView.REofAction"},
      {"control ENTER",            "Generate", "NotebookRunCellAction", "NewElement", "PyExecuteCellAction"},
      {"control M",                "EditorMatchBrace", "Vcs.ShowMessageHistory"},
      {"control O",                "ExportToTextFile", "OverrideMethods"},
      {"control SPACE",            "CodeCompletion", "ChangesView.SetDefault"},
      {"control shift LEFT",       "Diff.PrevChange", "PreviousEditorTab"},
      {"control shift RIGHT",      "Diff.NextChange", "NextEditorTab"},
      {"ctrl alt DOWN",            "GotoNextElementUnderCaretUsage", "ResizeToolWindowDown"},
      {"ctrl alt F",               "EditorNextWord", "ShowFilterPopup"},
      {"ctrl alt LEFT",            "EmmetPreviousEditPoint", "ResizeToolWindowLeft"},
      {"ctrl alt RIGHT",           "EmmetNextEditPoint", "ResizeToolWindowRight"},
      {"ctrl alt UP",              "GotoPrevElementUnderCaretUsage", "ResizeToolWindowUp"},
      {"meta 1",                   "ActivateProjectToolWindow", "FileChooser.GotoHome", "DuplicatesForm.SendToLeft"},
      {"meta 2",                   "ActivateBookmarksToolWindow", "FileChooser.GotoProject", "DuplicatesForm.SendToRight"},
      {"meta 3",                   "ActivateFindToolWindow", "FileChooser.GotoModule"},
      {"meta BACK_SPACE",          "EditorDeleteLine", "$Delete"},
      {"meta I",                   "DatabaseView.PropertiesAction", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"meta K",                   "CheckinProject", "Terminal.ClearBuffer"},
      {"meta L",                   "GotoLine", "Terminal.ClearBuffer"},
      {"meta N",                   "FileChooser.NewFolder", "Generate", "NewElement"},
      {"meta R",                   "Refresh", "Rerun", "Replace", "org.jetbrains.plugins.ruby.rails.console.ReloadSources"},
      {"meta SLASH",               "CommentByLineComment", "FileChooserList.Root", "Graph.ActualSize"},
      {"meta UP",                  "ShowNavBar", "FileChooserList.LevelUp"},
      {"shift BACK_SPACE",         "EditorBackSpace", "UsageView.Include"},
      {"shift control TAB",        "Switcher", "Diff.FocusOppositePane"},
      {"shift ctrl DOWN",          "MethodDown", "ShowContent"},
      {"shift meta G",             "ClassTemplateNavigation", "GoToClass", "FindPrevious"},
      {"shift meta L",             "Jdbc.OpenConsole.New", "rspec.LetIntroduce"},
      {"shift meta M",             "ChangesView.Move", "RInsertPipeAction", "Vcs.MoveChangedLinesToChangelist"},
    }),
    Map.entry("Mac OS X", new String[][]{
      {"BACK_SPACE",               "$Delete", "EditorBackSpace", "JupyterNotebookDeleteCellCommandModeAction"},
      {"Force touch",              "GotoDeclaration", "RunToCursor"},
      {"alt R",                    "Django.RunManageTaskAction", "org.jetbrains.plugins.ruby.tasks.rake.actions.RakeTasksPopupAction"},
      {"control DOWN",             "EditorLookupDown", "NotebookSelectCellBelowAction", "MethodDown"},
      {"control ENTER",            "Generate", "NotebookRunCellAction", "NewElement", "PyExecuteCellAction"},
      {"control F5",               "Refresh", "Rerun"},
      {"control N",                "Generate", "NewElement"},
      {"control UP",               "EditorLookupUp", "NotebookSelectCellAboveAction", "MethodUp"},
      {"control shift LEFT",       "Diff.PrevChange", "PreviousEditorTab"},
      {"control shift RIGHT",      "Diff.NextChange", "NextEditorTab"},
      {"ctrl SPACE",               "ChangesView.SetDefault", "CodeCompletion"},
      {"meta 1",                   "ActivateProjectToolWindow", "FileChooser.GotoHome", "DuplicatesForm.SendToLeft"},
      {"meta 2",                   "ActivateBookmarksToolWindow", "FileChooser.GotoProject", "DuplicatesForm.SendToRight"},
      {"meta 3",                   "ActivateFindToolWindow", "FileChooser.GotoModule"},
      {"meta K",                   "CheckinProject", "Terminal.ClearBuffer"},
      {"meta SLASH",               "CommentByLineComment", "FileChooserList.Root", "Graph.ActualSize"},
      {"meta UP",                  "EditorScrollUp", "FileChooserList.LevelUp", "MethodOverloadSwitchUp"},
      {"shift control TAB",        "Switcher", "Diff.FocusOppositePane"},
    }),
    Map.entry("Emacs", new String[][]{
      {"ESCAPE",                   SECOND_STROKE, "CloseGotItTooltip", "FocusEditor", "Terminal.SwitchFocusToEditor"},
      {"TAB",                      "EditorChooseLookupItemReplace", "NextTemplateVariable", "NextParameter", "EditorIndentSelection",
                                   "EmacsStyleIndent", "ExpandLiveTemplateByTab", "BraceOrQuoteOut", "SplitChooser.NextWindow"},
      {"alt MINUS",                SECOND_STROKE, "RInsertAssignmentAction"},
      {"alt SLASH",                "CodeCompletion", "HippieCompletion"},
      {"control B",                "EditorLeft", "org.intellij.plugins.markdown.ui.actions.styling.ToggleBoldAction"},
      {"control D",                "$Delete", "Diff.ShowDiff", "CompareTwoFiles", "SendEOF", "FileChooser.GotoDesktop",
                                   "org.jetbrains.r.console.RConsoleView.REofAction"},
      {"control DOWN",             "EditorForwardParagraph", "EditorLookupDown", "NotebookSelectCellBelowAction", "MethodOverloadSwitchDown"},
      {"control K",                "EditorCutLineEnd", "CheckinProject"},
      {"control M",                "EditorEnter", "EditorChooseLookupItem", "NextTemplateVariable", "Console.Execute"},
      {"control N",                "EditorDown", "FileChooser.NewFolder"},
      {"control P",                "EditorUp", "FileChooser.TogglePathBar"},
      {"control R",                "org.jetbrains.plugins.ruby.rails.console.ReloadSources", "FindPrevious"},
      {"control SLASH",            "$Undo", "Graph.ActualSize"},
      {"control SPACE",            "EditorToggleStickySelection", "ChangesView.SetDefault"},
      {"control UP",               "EditorBackwardParagraph", "EditorLookupUp", "NotebookSelectCellAboveAction", "MethodOverloadSwitchUp"},
      {"control alt A",            "MethodUp", "ChangesView.AddUnversioned", "Diagram.DeselectAll"},
      {"control alt E",            "Console.History.Browse", "MethodDown", "PerforceDirect.Edit", "ToggleFindInSelection"},
      {"control alt G",            "GotoDeclaration", "org.jetbrains.plugins.ruby.rails.actions.generators.GeneratorsPopupAction", "Mvc.RunTarget"},
      {"control alt S",            "ShowSettings", "Find"},
      {"ctrl L",                   "EditorScrollToCenter", "Terminal.ClearBuffer"},
      {"ctrl V",                   "EditorPageDown", "Terminal.Paste", "JupyterNotebookPasteCellCommandModeAction"},
      {"ctrl X",                   SECOND_STROKE, "JupyterNotebookCutCellCommandModeAction"},
      {"shift alt G",              "GotoClass", "hg4idea.QGotoFromPatches"},
      {"shift alt P",              "ParameterInfo", "hg4idea.QPushAction"},
      {"shift alt S",              "FindUsages", "context.save"},
      {"shift control X",          SECOND_STROKE, "com.jetbrains.php.framework.FrameworkRunConsoleAction"},
      {"shift ctrl MINUS",         "$Undo", "NotebookSplitCellAction"},
    }),
    Map.entry("Visual Studio", new String[][]{
      {"F5",                       "Graph.RouteEdges", "Resume", "PoBrowserRefresh"},
      {"F7",                       "CompileDirty", "NextDiff"},
      {"alt O",                    "SwitchHeaderSource", "ExportToTextFile"},
      {"control alt button1",      "EditorAddOrRemoveCaret", "UiInspector"},
      {"ctrl E",                   SECOND_STROKE, "SwitcherIterateItems", "SwitcherRecentEditedChangedToggleCheckBox"},
      {"ctrl ENTER",               "Console.Execute.Multiline", "DirDiffMenu.SynchronizeDiff.All", "EditorStartNewLineBefore",
                                   "NotebookRunCellAction", "PyExecuteCellAction", "ViewSource", "org.jetbrains.r.actions.RunSelection",
                                   "Terminal.SmartCommandExecution.Run", "SplitChooser.Duplicate", "Docker.RemoteServers.StartComposeService"},
      {"ctrl F10",                 "RunToCursor", "UpdateRunningApplication"},
      {"ctrl H",                   "Replace", "Vcs.ShowMessageHistory"},
      {"ctrl I",                   "IncrementalSearch", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"ctrl L",                   "EditorDeleteLine", "Terminal.ClearBuffer"},
      {"ctrl MINUS",               "Back", "CollapseAll", "CollapseExpandableComponent"},
      {"ctrl N",                   "FileChooser.NewFolder", "NewElement"},
      {"ctrl P",                   "FileChooser.TogglePathBar", "Print"},
      {"ctrl PERIOD",              "EditorChooseLookupItemDot", "ShowIntentionActions"},
      {"ctrl R",                   SECOND_STROKE, "org.jetbrains.plugins.ruby.rails.console.ReloadSources"},
      {"ctrl R,R",                 "ChangesView.Rename", "Git.Rename.Local.Branch", "Git.Reword.Commit", "RenameElement", "ShelvedChanges.Rename"},
      {"ctrl SUBTRACT",            "Back", "CollapseAll", "CollapseExpandableComponent"},
      {"ctrl alt B",               "ViewBreakpoints", "org.jetbrains.r.rendering.chunk.RunChunksAboveAction"},
      {"ctrl alt ENTER",           "ReformatCode", "org.jetbrains.r.actions.DebugSelection"},
      {"ctrl alt F",               "ActivateStructureToolWindow", "ShowFilterPopup"},
      {"ctrl alt R",               "Diff.ApplyLeftSide", "Refresh"},
      {"ctrl alt W",               "ActivateWebToolWindow", "Vcs.UpdateProject"},
      {"shift F5",                 "Graph.ApplyCurrentLayout", "Stop"},
      {"shift alt ENTER",          "JupyterDebugAction", "ToggleFullScreen"},
      {"shift alt F11",            "FindUsagesInFile", "HighlightUsagesInFile"},
      {"shift alt LEFT",           "Diff.PrevChange", "EditorLeftWithSelection"},
      {"shift alt OPEN_BRACKET",   "EditorCodeBlockStart", "EmmetPreviousEditPoint"},
      {"shift alt RIGHT",          "Diff.NextChange", "EditorRightWithSelection"},
      {"shift alt button1",        "EditorCreateRectangularSelection", "EditorCreateRectangularSelectionOnMouseDrag"},
      {"shift ctrl H",             "ChangesView.ShelveSilently", "ReplaceInPath"},
      {"shift ctrl MINUS",         "Forward", "NotebookSplitCellAction"},
      {"shift ctrl S",             "SaveAll", "org.intellij.plugins.markdown.ui.actions.styling.ToggleStrikethroughAction"},
      {"shift ctrl alt DOWN",      "MoveStatementDown", "ResizeToolWindowDown"},
      {"shift ctrl alt K",         "Git.Commit.And.Push.Executor", "Hg.Commit.And.Push.Executor"},
      {"shift ctrl alt P",         "IntroduceFunctionalParameter", "ReformatWithPrettierAction", "VcsShowPrevChangeMarker"},
      {"shift ctrl alt UP",        "MoveStatementUp", "ResizeToolWindowUp"},
    }),
    Map.entry("Default for XWin", new String[][]{
      {"ctrl SLASH",               "CommentByLineComment", "FileChooserList.Root", "Graph.ActualSize"},
      {"shift ctrl C",             "CopyPaths", "DatabaseView.CopyDdlAction", "Terminal.CopySelectedText",
                                   "org.intellij.plugins.markdown.ui.actions.styling.ToggleCodeSpanAction"},
      {"shift ctrl V",             "PasteMultiple", "Terminal.Paste", "JupyterNotebookPasteCellAboveCommandModeAction"},
      {"shift ctrl alt button1",   "EditorAddRectangularSelectionOnMouseDrag", "QuickEvaluateExpression"},
    }),
    Map.entry("Default for GNOME", new String[][]{
      {"shift alt 7",              "IDEtalk.SearchUserHistory", "FindUsages"},
      {"shift alt LEFT",           "PreviousEditorTab", "Diff.PrevChange", "Back"},
      {"shift alt RIGHT",          "NextEditorTab", "Diff.NextChange", "Forward"},
    }),
    Map.entry("Default for KDE", new String[][]{
      {"control 1",                "FileChooser.GotoHome", "ShowErrorDescription", "DuplicatesForm.SendToLeft"},
      {"control 2",                "FileChooser.GotoProject", "Stop", "DuplicatesForm.SendToRight"},
      {"control 3",                "FindWordAtCaret", "FileChooser.GotoModule"},
      {"control 5",                "Refresh", "Rerun"},
      {"shift alt 7",              "IDEtalk.SearchUserHistory", "FindUsages"},
      {"shift alt L",              "ReformatCode", "context.load"},
    }),
    Map.entry("Eclipse", new String[][]{
      {"F2",                       "Console.TableResult.EditValue", "QuickJavaDoc", "XDebugger.SetValue", "Table-startEditing", "Tree-startEditing"},
      {"F3",                       "GotoDeclaration", "PoToggleSelection"},
      {"F5",                       "Graph.RouteEdges", "StepInto", "PoBrowserRefresh"},
      {"alt DOWN",                 "MoveStatementDown", "ShowContent", "ShowSearchHistory", "JupyterNotebookMoveCellDownCommandModeAction"},
      {"alt HOME",                 "ViewNavigationBar", "ShowNavBar"},
      {"alt UP",                   "MoveStatementUp", "JupyterNotebookMoveCellUpCommandModeAction"},
      {"control B",                "CompileDirty", "org.intellij.plugins.markdown.ui.actions.styling.ToggleBoldAction"},
      {"control D",                "EditorDeleteLine", "Diff.ShowDiff", "CompareTwoFiles", "SendEOF", "FileChooser.GotoDesktop",
                                   "org.jetbrains.r.console.RConsoleView.REofAction"},
      {"control F10",              "ShowPopupMenu", "UpdateRunningApplication"},
      {"control I",                "AutoIndentLines", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"control N",                "ShowPopupMenu", "FileChooser.NewFolder"},
      {"control P",                "FileChooser.TogglePathBar", "Print"},
      {"control R",                "RunToCursor", "org.jetbrains.plugins.ruby.rails.console.ReloadSources"},
      {"control U",                "EvaluateExpression", "CommanderSwapPanels", "org.intellij.plugins.markdown.ui.actions.styling.InsertImageAction"},
      {"control alt DOWN",         "Console.TableResult.NextPage", "EditorDuplicateLines"},
      {"control alt E",            "Console.History.Browse", "ExecuteInPyConsoleAction", "PerforceDirect.Edit", "ToggleFindInSelection"},
      {"ctrl 1",                   "DuplicatesForm.SendToLeft", "FileChooser.GotoHome", "ShowIntentionActions"},
      {"ctrl L",                   "GotoLine", "Terminal.ClearBuffer"},
      {"shift alt D",              "hg4idea.QFold", "Debug"},
      {"shift alt G",              "RerunTests", "hg4idea.QGotoFromPatches"},
      {"shift alt L",              "IntroduceVariable", "context.load"},
      {"shift alt P",              "hg4idea.QPushAction", "ImplementMethods"},
      {"shift alt R",              "RenameElement", "Git.Reword.Commit", "Git.Rename.Local.Branch", "ShelvedChanges.Rename", "ChangesView.Rename"},
      {"shift alt S",              "ShowPopupMenu", "context.save"},
      {"shift alt T",              "ShowPopupMenu", "tasks.switch"},
      {"shift control E",          "RecentLocations", "EditSource"},
      {"shift control F6",         "ChangeTypeSignature", "PreviousTab"},
      {"shift control G",          "FindUsagesInFile", "ClassTemplateNavigation", "GoToClass"},
      {"shift control I",          "QuickImplementations", "XDebugger.Inspect"},
      {"shift control K",          "Vcs.Push", "FindPrevious"},
      {"shift control X",          "EditorToggleCase", "com.jetbrains.php.framework.FrameworkRunConsoleAction"},
      {"shift ctrl alt LEFT",      "NextEditorTab", "Diff.NextChange"},
      {"shift ctrl alt RIGHT",     "PreviousEditorTab", "Diff.PrevChange"},
    }),
    Map.entry("NetBeans 6.5", new String[][]{
      {"F4",                       "RunToCursor", "EditSource"},
      {"F5",                       "Debugger.ResumeThread", "Resume", "Graph.RouteEdges", "PoBrowserRefresh"},
      {"alt UP",                   "GotoPrevElementUnderCaretUsage", "JupyterNotebookMoveCellUpCommandModeAction"},
      {"alt DOWN",                 "GotoNextElementUnderCaretUsage", "ShowContent", "ShowSearchHistory", "JupyterNotebookMoveCellDownCommandModeAction"},
      {"control 1",                "ActivateProjectToolWindow", "DuplicatesForm.SendToLeft"},
      {"control 2",                "ActivateProjectToolWindow", "FileChooser.GotoProject", "DuplicatesForm.SendToRight"},
      {"control 3",                "ActivateProjectToolWindow", "FileChooser.GotoModule"},
      {"control BACK_SLASH",       "CodeCompletion", "FileChooserList.Root"},
      {"control BACK_SPACE",       "EditorDeleteToWordStart", "ToggleDockMode"},
      {"control DIVIDE",           "CollapseRegionRecursively", "Graph.ActualSize"},
      {"control I",                "GotoAction", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"control M",                "Vcs.ShowMessageHistory", "Move"},
      {"control N",                "NewElement", "FileChooser.NewFolder"},
      {"control PERIOD",           "GotoNextError", "EditorChooseLookupItemDot"},
      {"control R",                "RenameElement", "org.jetbrains.plugins.ruby.rails.console.ReloadSources", "Git.Reword.Commit",
                                   "Git.Rename.Local.Branch", "ShelvedChanges.Rename", "ChangesView.Rename"},
      {"control U",                SECOND_STROKE, "CommanderSwapPanels", "org.intellij.plugins.markdown.ui.actions.styling.InsertImageAction"},
      {"control alt DOWN",         "MethodDown", "NextOccurence", "Console.TableResult.NextPage"},
      {"control alt E",            "Console.History.Browse", "ExecuteInPyConsoleAction", "PerforceDirect.Edit", "ToggleFindInSelection"},
      {"control alt UP",           "MethodUp", "PreviousOccurence", "Console.TableResult.PreviousPage"},
      {"control alt shift P",      "Print", "ReformatWithPrettierAction"},
      {"ctrl alt PAGE_DOWN",       "Diff.NextChange", "NextEditorTab"},
      {"ctrl alt PAGE_UP",         "Diff.PrevChange", "PreviousEditorTab"},
      {"shift F4",                 "RecentFiles", "SwitcherIterateItems", "SwitcherRecentEditedChangedToggleCheckBox", "XDebugger.JumpToTypeSource",
                                   "Vcs.ShowMessageHistory", "EditSourceInNewWindow"},
      {"shift F5",                 "Graph.ApplyCurrentLayout", "Stop"},
      {"shift alt D",              "ToggleFloatingMode", "hg4idea.QFold"},
      {"shift alt F9",             "ChooseDebugConfiguration", "ValidateXml", "ValidateJsp"},
      {"shift control F7",         "HighlightUsagesInFile", "XDebugger.NewWatch"},
      {"shift control H",          "ChangesView.ShelveSilently", "ReplaceInPath"},
      {"shift control K",          "HippieCompletion", "Vcs.Push"},
      {"shift control M",          "RInsertPipeAction", "ShowBookmarks"},
      {"shift ctrl BACK_SLASH",    "GotoUrlAction", "SmartTypeCompletion"},
      {"shift ctrl C",             "CommentByLineComment", "DatabaseView.CopyDdlAction", "org.intellij.plugins.markdown.ui.actions.styling.ToggleCodeSpanAction"},
      {"shift ctrl S",             "SaveAll", "org.intellij.plugins.markdown.ui.actions.styling.ToggleStrikethroughAction"},
    }),
    Map.entry("Eclipse (Mac OS X)", new String[][]{
      {"F2",                       "Console.TableResult.EditValue", "QuickJavaDoc", "XDebugger.SetValue", "Git.Reword.Commit", "Git.Rename.Local.Branch",
                                   "ShelvedChanges.Rename", "ChangesView.Rename", "Table-startEditing", "Tree-startEditing"},
      {"F3",                       "GotoDeclaration", "EditSource", "PoToggleSelection"},
      {"F5",                       "StepInto", "Graph.RouteEdges", "PoBrowserRefresh"},
      {"alt DOWN",                 "MethodOverloadSwitchDown", "MoveStatementDown", "ShowSearchHistory", "JupyterNotebookMoveCellDownCommandModeAction"},
      {"alt UP",                   "MoveStatementUp", "MethodOverloadSwitchUp", "JupyterNotebookMoveCellUpCommandModeAction"},
      {"control PERIOD",           "EditorChooseLookupItemDot", "HippieCompletion"},
      {"control shift alt Z",      "Vcs.RollbackChangedLines", "ChangesView.Revert"},
      {"meta 1",                   "FileChooser.GotoHome", "ShowIntentionActions", "DuplicatesForm.SendToLeft"},
      {"meta 3",                   "FileChooser.GotoModule", "GotoAction"},
      {"meta B",                   "CompileDirty", "org.intellij.plugins.markdown.ui.actions.styling.ToggleBoldAction"},
      {"meta BACK_SPACE",          "EditorDeleteToWordStart", "$Delete"},
      {"meta D",                   "EditorDeleteLine", "Diff.ShowDiff", "CompareTwoFiles", "SendEOF", "FileChooser.GotoDesktop"},
      {"meta I",                   "DatabaseView.PropertiesAction", "AutoIndentLines", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"meta K",                   "FindNext", "Terminal.ClearBuffer"},
      {"meta P",                   "FileChooser.TogglePathBar", "Print"},
      {"meta R",                   "org.jetbrains.plugins.ruby.rails.console.ReloadSources", "RunToCursor"},
      {"meta U",                   "CommanderSwapPanels", "EvaluateExpression", "org.intellij.plugins.markdown.ui.actions.styling.InsertImageAction"},
      {"meta W",                   "CloseContent", "CloseActiveTab"},
      {"meta alt B",               "ShowNavBar", "org.jetbrains.r.rendering.chunk.RunChunksAboveAction"},
      {"meta alt C",               "ChangeSignature", "org.jetbrains.r.rendering.chunk.RunChunkAction"},
      {"meta alt DOWN",            "Console.TableResult.NextPage", "EditorDuplicateLines"},
      {"meta alt I",               "Inline", "RMarkdownNewChunk"},
      {"shift ctrl DOWN",          "EditorUnSelectWord", "ShowContent"},
      {"shift meta G",             "ClassTemplateNavigation", "GoToClass", "FindUsages"},
      {"shift meta K",             "Vcs.Push", "FindPrevious"},
      {"shift meta U",             "FindUsagesInFile", "ShelveChanges.UnshelveWithDialog", "Markdown.Styling.CreateLink"},
      {"shift meta X",             "EditorToggleCase", "com.jetbrains.php.framework.FrameworkRunConsoleAction"},
    }),
    Map.entry("Sublime Text", new String[][]{
      {"F2",                       "ChangesView.Rename", "Console.TableResult.EditValue", "Git.Reword.Commit", "Git.Rename.Local.Branch",
                                   "GotoNextBookmark", "GuiDesigner.EditComponent", "GuiDesigner.EditGroup", "ShelvedChanges.Rename",
                                   "XDebugger.SetValue", "Table-startEditing", "Tree-startEditing"},
      {"alt MINUS",                "Back", "RInsertAssignmentAction"},
      {"ctrl ADD",                 "EditorIncreaseFontSize", "ExpandAll", "ExpandExpandableComponent"},
      {"ctrl B",                   "Compile", "org.intellij.plugins.markdown.ui.actions.styling.ToggleBoldAction"},
      {"ctrl D",                   "CompareTwoFiles", "Diff.ShowDiff", "FileChooser.GotoDesktop", "SelectNextOccurrence", "SendEOF",
                                   "org.jetbrains.r.console.RConsoleView.REofAction"},
      {"ctrl ENTER",               "Console.Execute.Multiline", "DirDiffMenu.SynchronizeDiff.All", "EditorStartNewLine", "NotebookRunCellAction",
                                   "PyExecuteCellAction", "ViewSource", "org.jetbrains.r.actions.RunSelection", "Terminal.SmartCommandExecution.Run",
                                   "SplitChooser.Duplicate", "Docker.RemoteServers.StartComposeService"},
      {"ctrl EQUALS",              "EditorIncreaseFontSize", "ExpandAll", "ExpandExpandableComponent"},
      {"ctrl I",                   "IncrementalSearch", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"ctrl L",                   "EditorSelectLine", "Terminal.ClearBuffer"},
      {"ctrl M",                   "EditorMatchBrace", "Vcs.ShowMessageHistory"},
      {"ctrl MINUS",               "CollapseAll", "CollapseExpandableComponent", "EditorDecreaseFontSize"},
      {"ctrl N",                   "FileChooser.NewFolder", "NewElement"},
      {"ctrl P",                   "FileChooser.TogglePathBar", "GotoFile"},
      {"ctrl R",                   "FileStructurePopup", "org.jetbrains.plugins.ruby.rails.console.ReloadSources"},
      {"ctrl SUBTRACT",            "CollapseAll", "CollapseExpandableComponent", "EditorDecreaseFontSize"},
      {"ctrl V",                   "EditorPasteSimple", "Terminal.Paste", "JupyterNotebookPasteCellCommandModeAction"},
      {"ctrl alt DOWN",            "Console.TableResult.NextPage", "EditorCloneCaretBelow"},
      {"ctrl alt UP",              "Console.TableResult.PreviousPage", "EditorCloneCaretAbove"},
      {"shift ENTER",              "CollapseExpandableComponent", "Console.TableResult.EditValueMaximized", "DatabaseView.PropertiesAction",
                                   "EditorSplitLine", "ExpandExpandableComponent", "NotebookRunCellSelectBelowAction", "OpenInRightSplit",
                                   "RConsoleNextLineAction"},
      {"shift INSERT",             "EditorPasteSimple", "Terminal.Paste"},
      {"shift ctrl D",             "Console.TableResult.CompareCells", "EditorDuplicate", "Uml.ShowDiff"},
      {"shift ctrl ENTER",         "Console.Jpa.GenerateSql", "EditorStartNewLineBefore", "org.jetbrains.r.actions.RRunAction",
                                   "Terminal.SmartCommandExecution.Debug"},
      {"shift ctrl M",             "EditorSelectWord", "RInsertPipeAction"},
      {"shift ctrl T",             "ReopenClosedTab", "ServiceView.ShowServices"},
      {"shift ctrl V",             "$Paste", "JupyterNotebookPasteCellAboveCommandModeAction"},
    }),
    Map.entry("Sublime Text (Mac OS X)", new String[][]{
      {"F2",                       "ChangesView.Rename", "Console.TableResult.EditValue", "Git.Reword.Commit", "Git.Rename.Local.Branch",
                                   "GotoNextBookmark", "GuiDesigner.EditComponent", "GuiDesigner.EditGroup", "ShelvedChanges.Rename",
                                   "XDebugger.SetValue", "Table-startEditing", "Tree-startEditing"},
      {"meta ADD",                 "EditorIncreaseFontSize", "ExpandAll", "ExpandExpandableComponent"},
      {"meta B",                   "Compile", "org.intellij.plugins.markdown.ui.actions.styling.ToggleBoldAction"},
      {"meta BACK_SPACE",          "EditorDeleteToLineStart", "$Delete"},
      {"meta D",                   "CompareTwoFiles", "Diff.ShowDiff", "FileChooser.GotoDesktop", "SelectNextOccurrence", "SendEOF"},
      {"meta ENTER",               "Console.Execute.Multiline", "DirDiffMenu.SynchronizeDiff.All", "EditorStartNewLine", "ViewSource",
                                   "org.jetbrains.r.actions.RunSelection", "Terminal.SmartCommandExecution.Run", "SplitChooser.Duplicate",
                                   "Docker.RemoteServers.StartComposeService"},
      {"meta EQUALS",              "EditorIncreaseFontSize", "ExpandAll", "ExpandExpandableComponent"},
      {"meta I",                   "DatabaseView.PropertiesAction", "IncrementalSearch", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"meta K",                   SECOND_STROKE, "Terminal.ClearBuffer"},
      {"meta L",                   "EditorSelectLine", "Terminal.ClearBuffer"},
      {"meta MINUS",               "CollapseAll", "CollapseExpandableComponent", "EditorDecreaseFontSize"},
      {"meta P",                   "FileChooser.TogglePathBar", "GotoFile"},
      {"meta R",                   "FileStructurePopup", "Refresh", "Rerun", "org.jetbrains.plugins.ruby.rails.console.ReloadSources"},
      {"meta SUBTRACT",            "CollapseAll", "CollapseExpandableComponent", "EditorDecreaseFontSize"},
      {"meta UP",                  "EditorTextStart", "FileChooserList.LevelUp"},
      {"meta V",                   "EditorPasteSimple", "Terminal.Paste", "JupyterNotebookPasteCellCommandModeAction"},
      {"meta alt DOWN",            "Console.TableResult.NextPage", "GotoDeclaration"},
      {"meta alt G",               "DatabaseView.SqlGenerator", "FindWordAtCaret", "org.jetbrains.plugins.ruby.rails.actions.generators.GeneratorsPopupAction"},
      {"shift ENTER",              "CollapseExpandableComponent", "Console.TableResult.EditValueMaximized", "EditorSplitLine",
                                   "ExpandExpandableComponent", "NotebookRunCellSelectBelowAction", "OpenInRightSplit", "RConsoleNextLineAction"},
      {"shift ctrl DOWN",          "EditorCloneCaretBelow", "ShowContent"},
      {"shift meta D",             "Console.TableResult.CompareCells", "EditorDuplicate", "Uml.ShowDiff"},
      {"shift meta ENTER",         "Console.Jpa.GenerateSql", "EditorStartNewLineBefore", "org.jetbrains.r.actions.RRunAction",
                                   "Terminal.SmartCommandExecution.Debug"},
      {"shift meta T",             "ReopenClosedTab", "ServiceView.ShowServices"},
      {"shift meta V",             "$Paste", "JupyterNotebookPasteCellAboveCommandModeAction"},
    }),
    Map.entry("macOS System Shortcuts", new String[][]{
      {"ctrl C",                   "Vcs.QuickListPopupAction", "org.jetbrains.r.console.RConsoleView.RInterruptAction"},
      {"ctrl ENTER",               "EditorSplitLine", "NotebookRunCellAction", "PyExecuteCellAction"},
      {"ctrl O",                   "EditorSplitLine", "ExportToTextFile"},
      {"ctrl alt DOWN",            "MethodDown", "ResizeToolWindowDown"},
      {"ctrl alt UP",              "MethodUp", "ResizeToolWindowUp"},
      {"ctrl meta M",              "ChangesView.Move", "Vcs.MoveChangedLinesToChangelist"},
      {"meta CLOSE_BRACKET",       "Forward", "NextDiff"},
      {"meta DOWN",                "EditSourceNotInEditor", "EditorTextEnd"},
      {"meta I",                   "DatabaseView.PropertiesAction", "QuickJavaDoc", "org.intellij.plugins.markdown.ui.actions.styling.ToggleItalicAction"},
      {"meta OPEN_BRACKET",        "Back", "PreviousDiff"},
      {"meta UP",                  "EditorTextStart", "FileChooserList.LevelUp"},
      {"meta alt DOWN",            "Console.TableResult.NextPage", "NotebookSelectCellBelowAction", "NextOccurence"},
      {"meta alt E",               "Console.History.Browse", "GotoNextElementUnderCaretUsage", "PerforceDirect.Edit"},
      {"meta alt I",               "Move", "RMarkdownNewChunk"},
      {"meta alt UP",              "Console.TableResult.PreviousPage", "NotebookSelectCellAboveAction", "PreviousOccurence"},
      {"shift alt SEMICOLON",      "ForceStepInto", SECOND_STROKE},
      {"shift meta MINUS",         "EditorDecreaseFontSize", "NotebookSplitCellAction"},
      {"shift meta T",             "ReopenClosedTab", "ServiceView.ShowServices"},
    })
  );
  // @formatter:on

  private static final Set<String> DEFAULT_UNKNOWN_ACTION_IDS = Set.of(
    "ActivateVersionControlToolWindow", "ActivateFavoritesToolWindow", "ActivateBookmarksToolWindow", "ActivateCommanderToolWindow",
    "ActivateServicesToolWindow", "ActivateMessagesToolWindow", "ActivateProjectToolWindow", "ActivateStructureToolWindow",
    "ActivateProblemsViewToolWindow", "ActivateTODOToolWindow", "ActivateWebToolWindow", "ActivatePaletteToolWindow", "ActivateTerminalToolWindow",
    "IDEtalk.SearchUserHistory", "IDEtalk.Rename", "CIDR.Lang.Cpp.GenerateDefinitions", "ActivateErrorsInSolutionToolWindow",
    "ActivateUnitTestsToolWindow", "ActivateDatabaseToolWindow", "ActivateBuildToolWindow", "ActivateNuGetToolWindow",
    "RiderBackendAction-EncapsulateField", "SwitchHeaderSource", "BuildProject", "RebuildProject", "BuildSolutionAction", "RebuildSolutionAction",
    "ActivateInspectionResultsToolWindow", ""
  );

  private static final Set<String> DEFAULT_BOUND_ACTIONS = Set.of(
    "EditorDelete",
    "List-selectLastRowExtendSelection",
    "List-selectLastRow",
    "List-selectFirstRowExtendSelection",
    "List-selectFirstRow",
    "Tree-selectLastExtendSelection",
    "Tree-selectLast",
    "Tree-selectFirstExtendSelection",
    "Tree-selectFirst"
  );

  private static final List<String> DEFAULT_CONFLICT_SAFE_GROUPS = List.of(
    "Log.KeymapGroup",
    "UsageGroupingActionGroup",
    "UsageFilteringActionGroup",
    "SearchEverywhereActions",
    "Images.ThumbnailViewActions",
    "Images.ImageViewActions",
    "ArrangementRulesGroup",
    "ServiceViewTreeToolbar",
    "TodoViewGroupByGroup",
    "ChangesView.GroupBy"
  );

  @Override
  protected Map<String, Map<String, List<String>>> getKnownDuplicates() {
    return parseDuplicates(DEFAULT_DUPLICATES);
  }

  @Override
  protected Set<String> getUnknownActions() {
    return DEFAULT_UNKNOWN_ACTION_IDS;
  }

  @Override
  protected Set<String> getBoundActions() {
    return DEFAULT_BOUND_ACTIONS;
  }

  @Override
  protected Collection<String> getConflictSafeGroups() {
    return DEFAULT_CONFLICT_SAFE_GROUPS;
  }

  @Override
  protected String getGroupForUnknownAction(@NotNull String actionId) {
    return actionId.equals("ChangesView.GroupBy.Module") ? "ChangesView.GroupBy" : null;
  }
}