Repository navigation
[CTX-0258] feat(config): pin Mod+M/HJKL both mods, add Mod-aware resize variant - #435
Merged
Merged
Conversation
Xuepoo
force-pushed
the
ctx-0258/feat-workspace-keys-easy
branch
from
September 9, 2026 05:40
ea3f410 to
4ac9bf3
Compare
Contributor
Author
|
Rebase onto origin/main 227ca3a (CTX-0257 #433) complete. Conflict was confined to crates/bitty-config/src/keymap.rs (5 hunks); resolution keeps BOTH sides with no logic changes:
Gates (scoped): cargo test -p bitty-config 157/157 pass (keymap 27/27), cargo fmt --check clean, cargo clippy -p bitty-config clean. Full just check exceeds local bash time budget; deferring to CI. New head 4ac9bf3. Ready for re-review (no merge by fixer). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #434. Task: CTX-0258 | RFC: DEC-0034.
Contract: Mod+M zoom + Mod+HJKL focus pinned under Alt and Super (tests only, no prod change for these); resize gains Mod-aware variant ctrl+shift+alt HJKL (rebinds to ctrl+shift+super under Super flip) alongside legacy shift+ctrl; shift+alt stays new_split (single-owner); uniqueness holds under both mods; shell keys unbound.
Security: keymap-only defaults; parsing stays total/fail-closed/bounded; no new I/O, unsafe, or ambient authority; no shell-typing theft (all new chords carry modifiers).
Performance: defaults table +4 entries; matching stays bounded linear scan; no hot-path change.
Docs: keymap.rs module/ModKey/DEFAULT_KEYMAPS docs updated; main.rs help text left as-is (still true, lists legacy variant) — follow-up if exhaustive help wanted.
Validation: cargo test -p bitty-config (156 passed), clippy -D warnings, fmt --check, windows-gnu check, workspace check green (1 pre-existing bitty-app escaped-newline warning). Logs: worktree recording/ctx-0258/ (uncommitted).
Follow-up: DEC/commander call on literal Mod+Shift resize vs new_split collision (see issue + CarryCtx risk).