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

[Hotkeys] Different combos for the same action #3268

Open
warpdesign opened this issue Jan 7, 2019 · 0 comments
Open

[Hotkeys] Different combos for the same action #3268

warpdesign opened this issue Jan 7, 2019 · 0 comments

Comments

@warpdesign
Copy link
Contributor

warpdesign commented Jan 7, 2019

Environment

  • Package version(s): 3.6.1
  • Browser and OS versions: Chrome 66 (Electron 3.x)

Feature request

Right now, the only way to have two different hotkeys for the same action is to define two <Hotkey>elements. The problem is that doing so will make the action appear twice in the hotkeys dialog.

Suggestion: have the ability to define several combos for the same action.

Examples

For example, this would add two different hotkeys for the foo action.

<Hotkey label="foo" combo="mod + e, mod + s">
</Hotkey>

In the hotkeys dialog, only one line would appear, showing the two different combos for foo: mod+e and mod+s.

@giladgray giladgray changed the title Different combos for the same action [Hotkeys] Different combos for the same action Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants