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