Skip to content

fix: use native shortcut modifiers and labels - #11

Merged
itz4blitz merged 1 commit into
itz4blitz:mainfrom
vbmithr:fix/native-shortcuts
Oct 17, 2026
Merged

itz4blitz merged 1 commit into
itz4blitz:mainfrom
vbmithr:fix/native-shortcuts

Conversation

@vbmithr

@vbmithr vbmithr commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

On Linux the interface showed Mac shortcut glyphs such as ⌘K, and the bindings required Super instead of Ctrl. Use GPUI's native primary modifier: Command on macOS, Ctrl on Linux and Windows. “Jump to…” now shows and uses Ctrl+K on Linux.

Update application bindings, shortcut labels in keycaps/menus/tooltips/settings, accessibility labels, selected-message copying, and image viewer controls. Keep Mac control-key editing aliases on macOS so they cannot steal Ctrl+K or other app shortcuts while typing elsewhere. Add native word and document navigation in text fields and document the platform conventions in README.

Based directly on current upstream main (4b1c4d5), independently of #8 and #10.

Validation:

  • Three shortcut regression tests pass on the rebased branch, covering actual shell/input bindings, Ctrl shortcut conflicts, and both platform label conventions.
  • The user confirmed the installed fix works on Linux before this rebase; Arch package revision 13 built successfully.
  • Before rebasing, the broader GUI suite had 308 passed, one ignored, and one image-resizing failure in untouched code. That exact failure was also reproduced on the unchanged baseline (9688a87).
  • git diff --check passes. macOS/Windows runtime behavior has not been tested locally.

Use Command on macOS and Control elsewhere for application shortcuts.
Render native shortcut names in menus, tooltips, settings, and keycaps,
and use the same modifier for selection copying and the image viewer.

Keep Mac control-key editing aliases on macOS so they do not shadow
application shortcuts on Linux and Windows. Add native word navigation
and regression coverage, and document the platform conventions.

Co-Authored-By: GPT-6 <noreply@openai.com>

@itz4blitz itz4blitz left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Native primary-modifier shortcuts look correct: Command on macOS, Ctrl on Linux and Windows, with the Mac control-key editing aliases kept from stealing Ctrl+K. macOS, Linux, and Windows CI are green.

@itz4blitz
itz4blitz merged commit 5aa1979 into itz4blitz:main Oct 17, 2026
3 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.

2 participants