// 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": { "\\ f f": "file_finder::Toggle", "\\ g": "workspace::NewSearch", "\\ b": "tab_switcher::Toggle", "\\ e": "project_panel::ToggleFocus", "\\ a": "agent::ToggleFocus", }, }, { "context": "Editor && vim_mode == normal", "bindings": { "g d": "editor::GoToDefinition", "g D": "editor::GoToDeclaration", "g r": "editor::FindAllReferences", "g i": "editor::GoToImplementation", "K": "editor::Hover", "ctrl-k": "editor::ShowSignatureHelp", "\\ c a": "editor::ToggleCodeActions", "\\ r n": "editor::Rename", "\\ f m": "editor::Format", "\\ w": "workspace::Save", }, }, { "context": "Editor && vim_mode == visual", "bindings": { "J": "editor::MoveLineDown", "K": "editor::MoveLineUp", }, }, ]