Skip to content

fix(keys): a plain binding no longer answers with Ctrl held - #132

Merged
backnotprop merged 2 commits into
plannotator:mainfrom
sebastianst:seb/plain-keys-no-ctrl
Nov 15, 2026
Merged

backnotprop merged 2 commits into
plannotator:mainfrom
sebastianst:seb/plain-keys-no-ctrl

Conversation

@sebastianst

@sebastianst sebastianst commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

This reverses a default that a test pinned: a plain binding no longer answers with Ctrl held, so a_plain_binding_still_answers_ctrl_when_no_ctrl_binding_claims_it is replaced. Happy to drop this if the old behaviour is deliberate.

Today Ctrl+X clears a block and Ctrl+Q quits, because a plain binding only needs the key code to match, which makes a slip costly.

🤖 Co-created with Claude Opus 5.5

sebastianst and others added 2 commits November 10, 2026 07:06
Ctrl+X cleared a block and Ctrl+Q quit, because plain bindings only needed the key code to match. Shift still passes, as shifted letters need it, and Ctrl with Alt too, which is how Windows reports AltGr. Ctrl+P keeps meaning p in a review with no file tree, now by looking the key up without Ctrl.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s ignore Ctrl

Key::matches no longer lets a plain binding answer with Ctrl held, so the helper's filter always passed. The tests it came with still cover marking with Ctrl held and a deliberate ctrl binding.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sebastianst
sebastianst force-pushed the seb/plain-keys-no-ctrl branch from 581ac4c to 0c65687 Compare November 10, 2026 09:07
@backnotprop
backnotprop added this pull request to the merge queue Nov 15, 2026
Merged via the queue into plannotator:main with commit c3eb67d Nov 15, 2026
3 checks passed
@sebastianst
sebastianst deleted the seb/plain-keys-no-ctrl branch November 15, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants