Skip to content

feat(keybinds): add cmd/command alias and macOS display support#23853

Open
jjangga0214 wants to merge 12 commits intoanomalyco:devfrom
jjangga0214:agent-cmd-keybinds-v2
Open

feat(keybinds): add cmd/command alias and macOS display support#23853
jjangga0214 wants to merge 12 commits intoanomalyco:devfrom
jjangga0214:agent-cmd-keybinds-v2

Conversation

@jjangga0214
Copy link
Copy Markdown

@jjangga0214 jjangga0214 commented Apr 22, 2026

Issue for this PR

Closes #653

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Add cmd and command as aliases for super modifier in keybind parsing, and display super as cmd on macOS in the toString output. This provides better UX for macOS users who are familiar with Cmd key notation.

How did you verify your code works?

Added tests in test/keybind.test.ts for parsing cmd/command aliases and verified existing tests pass.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Apr 22, 2026
@jjangga0214 jjangga0214 force-pushed the agent-cmd-keybinds-v2 branch 2 times, most recently from fe9d384 to a0e48a5 Compare April 22, 2026 11:39
- Add cmd/command as alias for super in keybind parse
- Display super as cmd on macOS in toString
- Add tests for cmd/command alias parsing in test/keybind.test.ts
@jjangga0214 jjangga0214 force-pushed the agent-cmd-keybinds-v2 branch from a0e48a5 to e3e6a6c Compare April 22, 2026 11:42
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Apr 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Replace regex super/cmd check with explicit darwin vs non-darwin expects.
Add JSDoc on toString; clarify keybinds macOS copy.

Made-with: Cursor
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.

Add support for cmd+ keybinds on macOS

4 participants