68 lines
1.1 KiB
JSON
68 lines
1.1 KiB
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 && vim_mode == insert",
|
|
"bindings": {
|
|
// "j k": "vim::NormalBefore"
|
|
},
|
|
},
|
|
{
|
|
"bindings": {
|
|
"ctrl-tab": "tab_switcher::Toggle"
|
|
}
|
|
},
|
|
{
|
|
"bindings": {
|
|
"ctrl-alt-1": "pane::CloseActiveItem"
|
|
}
|
|
},
|
|
{
|
|
"bindings": {
|
|
"ctrl-alt-2": [
|
|
"pane::CloseOtherItems",
|
|
{
|
|
"close_pinned": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"bindings": {
|
|
"ctrl-alt-e": "pane::ActivateNextItem"
|
|
}
|
|
},
|
|
{
|
|
"bindings": {
|
|
"ctrl-q": null
|
|
}
|
|
},
|
|
{
|
|
"bindings": {
|
|
"ctrl-alt-q": "pane::ActivatePreviousItem"
|
|
}
|
|
},
|
|
{
|
|
"context": "Editor",
|
|
"bindings": {
|
|
"alt--": "editor::ToggleCodeActions"
|
|
}
|
|
},
|
|
{
|
|
"bindings": {
|
|
"ctrl-shift-a": "terminal_panel::ToggleFocus"
|
|
}
|
|
}
|
|
]
|