diff --git a/flake.lock b/flake.lock index 38c15b5..80e3f50 100644 --- a/flake.lock +++ b/flake.lock @@ -272,9 +272,12 @@ "locked": { "lastModified": 1785767538, "narHash": "sha256-9foQ31PSKpIu8UWGalt+4G5o4TU21g4a1qwMwJmeOy4=", + "lastModified": 1785806694, + "narHash": "sha256-UEh5+A6DKfVuqdzouBRx0Lg7P100aqxILbYyi6d++tE=", "owner": "noctalia-dev", "repo": "noctalia", "rev": "50f0f095053a4b5c10874c4e7080f55dc15d3b38", + "rev": "72acad3eb20f1e1dcb65cee51584783b58f6d87c", "type": "github" }, "original": { diff --git a/modules/home/tools/zed/config/keymap.json b/modules/home/tools/zed/config/keymap.json index 6771eda..1938399 100644 --- a/modules/home/tools/zed/config/keymap.json +++ b/modules/home/tools/zed/config/keymap.json @@ -27,4 +27,24 @@ "space shift-d": "diagnostics::Deploy" } } + }, + + // --- IDE panel toggles on alt- --- + // ctrl- is left fully Helix-native (PageUp/PageDown/GoBack/Increment/etc. + // all keep their default meanings). These two are the only panel toggles + // that actually collided with a native Helix ctrl- binding, so they move + // to alt- instead of overriding ctrl-. + { + "context": "Workspace || (vim_mode == helix_normal || vim_mode == helix_select)", + "bindings": { + "alt-j": "workspace::ToggleBottomDock", // terminal (was ctrl-j, which shadowed vim::Down) + "alt-b": "workspace::ToggleLeftDock", // file explorer (was ctrl-b, which shadowed vim::PageUp; frees native alt-b = MoveToStartOfLargerSyntaxNode) + "alt-r": "workspace::ToggleRightDock" // right dock (was Pane's search::ToggleRegex, unused) + } + } + + // project picker (ctrl-p = file_finder::Toggle) and project debug + // (ctrl-shift-d = debug_panel::ToggleFocus, F4 = debugger::Start) are + // left on their Zed defaults -- neither collides with a Helix ctrl- + // binding, so no override is needed. ] diff --git a/modules/home/wm/niri/config.kdl b/modules/home/wm/niri/config.kdl index 2747fc0..6cf496b 100644 --- a/modules/home/wm/niri/config.kdl +++ b/modules/home/wm/niri/config.kdl @@ -92,7 +92,7 @@ binds { XF86MonBrightnessDown { spawn-sh "noctalia msg brightness-down"; } // my specifc keybinds - // Mod+Return hotkey-overlay-title="Open Ghostty" {spawn "ghostty" "-e" "zellij" "-l" "welcome";} + Mod+Shift+Return hotkey-overlay-title="Open Ghostty" {spawn "ghostty" "-e" "zellij" "-l" "welcome";} Mod+Return hotkey-overlay-title="Open Ghostty" {spawn "ghostty";} // Open/close the Overview: a zoomed-out view of workspaces and windows.