jetbrains.json

 1[
 2  {
 3    "bindings": {
 4      "cmd-shift-[": "pane::ActivatePrevItem",
 5      "cmd-shift-]": "pane::ActivateNextItem"
 6    }
 7  },
 8  {
 9    "context": "Editor",
10    "bindings": {
11      "ctrl->": "zed::IncreaseBufferFontSize",
12      "ctrl-<": "zed::DecreaseBufferFontSize",
13      "cmd-d": "editor::DuplicateLine",
14      "cmd-backspace": "editor::DeleteLine",
15      "cmd-pagedown": "editor::MovePageDown",
16      "cmd-pageup": "editor::MovePageUp",
17      "ctrl-alt-shift-b": "editor::SelectToPreviousWordStart",
18      "cmd-alt-enter": "editor::NewlineAbove",
19      "shift-enter": "editor::NewlineBelow",
20      "cmd--": "editor::Fold",
21      "cmd-=": "editor::UnfoldLines",
22      "alt-shift-g": "editor::SplitSelectionIntoLines",
23      "ctrl-g": [
24        "editor::SelectNext",
25        {
26          "replace_newest": false
27        }
28      ],
29      "ctrl-cmd-g": [
30        "editor::SelectPrevious",
31        {
32          "replace_newest": false
33        }
34      ],
35      "cmd-/": [
36        "editor::ToggleComments",
37        {
38          "advance_downwards": true
39        }
40      ],
41      "shift-alt-up": "editor::MoveLineUp",
42      "shift-alt-down": "editor::MoveLineDown",
43      "cmd-alt-l": "editor::Format",
44      "cmd-[": "pane::GoBack",
45      "cmd-]": "pane::GoForward",
46      "alt-f7": "editor::FindAllReferences",
47      "cmd-alt-f7": "editor::FindAllReferences",
48      "cmd-b": "editor::GoToDefinition",
49      "cmd-alt-b": "editor::GoToDefinitionSplit",
50      "cmd-shift-b": "editor::GoToTypeDefinition",
51      "cmd-alt-shift-b": "editor::GoToTypeDefinitionSplit",
52      "alt-enter": "editor::ToggleCodeActions",
53      "f2": "editor::GoToDiagnostic",
54      "cmd-f2": "editor::GoToPrevDiagnostic",
55      "ctrl-alt-shift-down": "editor::GoToHunk",
56      "ctrl-alt-shift-up": "editor::GoToPrevHunk",
57      "cmd-home": "editor::MoveToBeginning",
58      "cmd-end": "editor::MoveToEnd",
59      "cmd-shift-home": "editor::SelectToBeginning",
60      "cmd-shift-end": "editor::SelectToEnd"
61    }
62  },
63  {
64    "context": "Editor && mode == full",
65    "bindings": {
66      "cmd-f12": "outline::Toggle",
67      "cmd-7": "outline::Toggle",
68      "cmd-shift-o": "file_finder::Toggle",
69      "cmd-l": "go_to_line::Toggle"
70    }
71  },
72  {
73    "context": "Workspace",
74    "bindings": {
75      "cmd-shift-o": "file_finder::Toggle",
76      "cmd-shift-a": "command_palette::Toggle",
77      "cmd-alt-o": "project_symbols::Toggle",
78      "cmd-1": "workspace::ToggleLeftDock",
79      "cmd-6": "diagnostics::Deploy"
80    }
81  }
82]