configs

configs
git clone https://git.prime8.dev/configs.git
Log | Files | Refs | README

commit d6b0ddc57970d87d0a5a9231d8f7af1069112b2e
parent 478de0498e122ffa1bfaa5d93e5937d14e898b9b
Author: Damian Myrda <damian@prime8.dev>
Date:   Wed,  7 Jan 2026 15:09:38 -0600

Update Zed keybindings: add debugger commands and refine contexts

Diffstat:
Mprograms/zed/keymap.json | 46++++++++++++++++++++++++++++++++++++----------
1 file changed, 36 insertions(+), 10 deletions(-)

diff --git a/programs/zed/keymap.json b/programs/zed/keymap.json @@ -1,33 +1,59 @@ [ - // Global bindings (except terminal) + // Editor bindings (helix mode) { - "context": "!Terminal", + "context": "!Terminal && !Picker && !TabSwitcher && !FileFinder", "bindings": { // Panels - "space e": "project_panel::ToggleFocus", + "space e": "workspace::ToggleLeftDock", "space t": "workspace::ToggleRightDock", "space d": "diagnostics::Deploy", // Navigation + "space f": "file_finder::Toggle", "space p": "projects::OpenRecent", "space b": "tab_switcher::Toggle", + "space B": "branches::OpenRecent", "space s": "outline::Toggle", "space g": "project_symbols::Toggle", // Actions "space o": ["task::Spawn", { "task_name": "OpenCode" }], + "space T": "task::Spawn", "space q": "pane::CloseActiveItem", - "space w": "workspace::Save" + "space w": "workspace::Save", + + // LSP + "g r": "editor::FindAllReferences", + "g i": "editor::GoToImplementation", + "K": "editor::Hover", + + // Debugger (space D prefix for debug commands) + "space D s": "debugger::Start", + "space D q": "debugger::Stop", + "space D r": "debugger::Rerun", + "space D c": "debugger::Continue", + "space D p": "debugger::Pause", + "space D n": "debugger::StepOver", + "space D i": "debugger::StepInto", + "space D o": "debugger::StepOut", + "space D b": "editor::ToggleBreakpoint", + "space D B": "debugger::ClearAllBreakpoints", + "space D v": "debugger::FocusVariables", + "space D f": "debugger::FocusFrames", + "space D l": "debugger::FocusConsole" } }, - - // Editor bindings (helix/vim mode) + // Debug panel specific bindings { - "context": "VimControl", + "context": "DebugPanel", "bindings": { - "g r": "editor::FindAllReferences", - "g i": "editor::GoToImplementation", - "K": "editor::Hover" + "c": "debugger::Continue", + "p": "debugger::Pause", + "n": "debugger::StepOver", + "i": "debugger::StepInto", + "o": "debugger::StepOut", + "q": "debugger::Stop", + "r": "debugger::Rerun" } } ]