fix(shortcuts): give Peek Flat Scan its own key, M, instead of | - #912
Merged
marcinz606 merged 12 commits intoAug 19, 2026
Merged
Conversation
toggle_flat_peek's default was "|", not a letter like its Peek Negative sibling's mnemonic (N), and "|" needs Shift+\ on most layouts. M fits the app's own "flat master" terminology and no default binding already claims it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
3 tasks
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.
Summary
toggle_flat_peek's default was|, while its sibling Peek Negative got aplain, one-tap mnemonic key (
N). On Nordic ISO keyboards (Norwegian,Swedish, Danish, Finnish)
|isn't its own key at all — it'sAltGrplusthe
< >key to the left ofZ, a three-finger reach compared to a baretap. In practice that made the shortcut feel broken rather than just
inconvenient.
M, for "flat master" (the app's own name for this output:state.flat_peek, "digital intermediate", "flat master render"). It alsosits right next to
N, so the two peek shortcuts are now a natural pair onthe keyboard, not just in the code.
M.Test plan
make all(lint + type check + full test suite)tests/test_shortcut_registry.py::test_no_two_actions_claim_the_same_default_keystill passes
QShortcut, and invoking itthrough the action dispatcher correctly flips
flat_peekstate🤖 Generated with Claude Code