Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify left_ / right_ modifiers #75

Closed
evan-liu opened this issue May 9, 2023 · 0 comments
Closed

Simplify left_ / right_ modifiers #75

evan-liu opened this issue May 9, 2023 · 0 comments

Comments

@evan-liu
Copy link
Owner

evan-liu commented May 9, 2023

Right now, there are 2 options to have sides in modifiers:

  • ['left_command', 'right_option']
  • { left: '⌘', right: '⌥' }

Both are too verbose compared to '⌘⌥'.

There is an issue on Goku discussing the idea of < and > for left_ and right_, so it could be

  • <⌘>⌥ or >⌘⌥>

However, it is too hard to express in TypeScript.

I am thinking about the first character instead

  • <⌘⌥ for left_command, left_option
  • >⌘⌥ for right_command, right_option
  • ['<⌘', '>⌥'] for left_command, right_option

Or use the letter l and r instead of < and >

  • l⌘⌥ for left_command, left_option
  • r⌘⌥ for right_command, right_option
  • ['l⌘', 'r⌥'] for left_command, right_option

Or maybe is { l: '⌘', r: '⌥' } good enough if not used often?

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

No branches or pull requests

1 participant