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