Zed is a text editor
Configuration on Windows: %APPDATA%\Zed\settings.json
Keymaps can be configured in keymap.json. I use these keybindings in combination with vim-mode in Zed:
[
{
"context": "vim_mode == normal && !menu",
"bindings": {
"ctrl-h": "workspace::ActivatePaneLeft",
"ctrl-j": "workspace::ActivatePaneDown",
"ctrl-k": "workspace::ActivatePaneUp",
"ctrl-l": "workspace::ActivatePaneRight",
"-": "workspace::ToggleLeftDock"
}
},
{
"context": "VimControl && !menu",
"bindings": {
"ctrl-n": "workspace::ToggleLeftDock",
"space f f": "file_finder::Toggle",
"space f g": "pane::DeploySearch",
"space space": "file_finder::Toggle",
"space b f": "tab_switcher::Toggle",
"space g d": "editor::GoToDefinition",
"space g r": "editor::FindAllReferences",
"space c a": "editor::ToggleCodeActions",
"space g f": "editor::Format",
"space o i": "editor::OrganizeImports",
"space c r": "editor::Rename",
"space g p": "git_panel::Toggle",
"space g t": "editor::ToggleGitBlameInline",
"space t": "editor::SpawnNearestTask",
"space shift-t": "task::Spawn",
"space l": "task::Rerun",
"space w k": "command_palette::Toggle"
}
}
]