-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeymap.json
40 lines (40 loc) · 1.03 KB
/
keymap.json
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
// Zed keymap
//
// For information on binding keys, see the Zed
// documentation: https://zed.dev/docs/key-bindings
//
// To see the default key bindings run `zed: Open Default Keymap`
// from the command palette.
[
{
"context": "Workspace",
"bindings": {
"shift shift": "file_finder::Toggle",
"ctrl-.": "terminal_panel::ToggleFocus"
}
},
{
"context": "Editor",
"bindings": {}
},
{
"context": "Editor && vim_mode == normal",
"bindings": {
"ctrl-p": "file_finder::Toggle",
"j": ["workspace::SendKeystrokes", "g j"],
"k": ["workspace::SendKeystrokes", "g k"],
"H": ["workspace::SendKeystrokes", "^"],
"L": ["workspace::SendKeystrokes", "$"],
"space space": ["workspace::SendKeystrokes", "ctrl-6"],
"s v": "pane::SplitRight",
"s l": "workspace::ActivateNextPane",
"s h": "workspace::ActivatePreviousPane"
}
},
{
"context": "Editor && vim_mode == insert",
"bindings": {
"j j": ["workspace::SendKeystrokes", "escape"]
}
}
]