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