Skip to content

feat(macos): add customizable keybinds in settings - #2202

Merged
LHagfoss merged 1 commit into
mainfrom
feat/macos-custom-keybindings
Oct 20, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
feat/macos-custom-keybindings

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

Adds a Keybinds section to the macOS Settings window. Each app command shows its current shortcut in a keycap recorder; click to record a new one, press Delete to clear it, or Esc to cancel.

  • Shortcuts are saved per Mac in UserDefaults, with defaults restored unless overridden.
  • Assigning a shortcut already in use unbinds the previous action.
  • macOS and text-editing shortcuts such as ⌘Q, ⌘W, and ⌘C are rejected.
  • Menu items, toolbar tooltips, and the preview/terminal controls follow remaps immediately.
  • Individual rows and Reset All restore defaults.

Verified with the macOS app test suite and a debug run that remapping ⌘, to ⌘J opens Settings from the new shortcut.

Every app command now reads its shortcut from a per-Mac store, and the Settings window has a Keybinds section with a recorder for each action. Assigning a shortcut another action uses unbinds that action, reserved macOS and text-editing keys are rejected, and individual or all shortcuts can be reset.
@github-actions github-actions Bot added the feature New feature or request label Oct 20, 2026
@LHagfoss
LHagfoss merged commit 76faf28 into main Oct 20, 2026
7 checks passed
@LHagfoss
LHagfoss deleted the feat/macos-custom-keybindings branch October 20, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant