-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeymap.json
More file actions
44 lines (44 loc) · 1.28 KB
/
keymap.json
File metadata and controls
44 lines (44 loc) · 1.28 KB
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
[
// Disable cmd+w to prevent app from closing.
{
"bindings": {
"cmd-w": null,
"cmd-shift-w": null,
},
},
{
"context": "Editor",
"bindings": {
"shift-cmd-a": "workspace::AddFolderToProject",
// https://github.com/zed-industries/zed/discussions/14195
// "shift-cmd-w": "workspace::RemoveFolderFromProject",
"cmd-w": "pane::CloseActiveItem",
"cmd-shift-f": "project_search::SearchInNew",
"cmd-shift-r": "pane::RevealInProjectPanel",
"shift-alt-a": "agent::ToggleFocus",
"ctrl-shift-m": "markdown::OpenPreviewToTheSide",
"ctrl-alt-m": "svg::OpenPreviewToTheSide",
"ctrl-shift-t": "workspace::NewCenterTerminal",
},
},
{
"context": "Terminal",
"bindings": {
"ctrl-shift-c": "terminal::Copy",
"ctrl-shift-t": "workspace::NewTerminal",
"ctrl-shift-v": "terminal::Paste",
},
},
{
"context": "Workspace",
"bindings": {
"ctrl-shift-]": "workspace::ActivateNextPane",
"ctrl-shift-[": "workspace::ActivatePreviousPane",
"shift-alt-s": "workspace::ActivatePaneDown",
"shift-alt-w": "workspace::ActivatePaneUp",
"f1": "workspace::ToggleZoom",
"shift-alt-z": "workspace::ToggleZoom",
"cmd-w": "pane::CloseActiveItem",
},
},
]