Skip to content

Add keyboard shortcuts modal (Shift+?)#18

Merged
lmist merged 1 commit into
mainfrom
lmist/toronto
Apr 5, 2026
Merged

Add keyboard shortcuts modal (Shift+?)#18
lmist merged 1 commit into
mainfrom
lmist/toronto

Conversation

@lmist
Copy link
Copy Markdown
Owner

@lmist lmist commented Apr 5, 2026

Summary

  • Adds a YouTube-style keyboard shortcuts modal triggered by Shift+? in normal mode
  • Two-column layout showing navigation, resize, editing, and general shortcuts
  • Dismissible via ?, Escape, or clicking outside the overlay
  • Styled consistently with the existing vimrc modal (blur backdrop, themed colors, kbd elements)
  • Respects insert mode and vimrc modal state to avoid conflicts

Test plan

  • Press Shift+? in normal mode — modal opens
  • Press ? or Escape while open — modal closes
  • Click outside modal — closes
  • Type ? in insert mode — no modal, character inserted normally
  • Verify dark, light, and dusk themes all render correctly

🤖 Generated with Claude Code

YouTube-style two-column modal showing all app shortcuts: navigation,
resize, editing defaults, and general. Dismissible via ?, Escape, or
click-outside. Respects insert mode and vimrc modal state.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lmist lmist merged commit 7f41621 into main Apr 5, 2026
2 checks passed
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.

1 participant