29 lines
664 B
JSON
29 lines
664 B
JSON
|
// 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"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"context": "Editor",
|
||
|
"bindings": {
|
||
|
// "j k": ["workspace::SendKeystrokes", "escape"]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"context": "Terminal",
|
||
|
"bindings": {
|
||
|
"ctrl-w": "pane::CloseActiveItem", // Don't pass ctrl-w to terminal, let Zed handle it.
|
||
|
"ctrl-`": "workspace::ToggleBottomDock" // match vscode behavior
|
||
|
}
|
||
|
}
|
||
|
]
|