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

Add support for longer, compound keyboard shortcuts (more than 2 keys, e.g. "Ctrl-Shift-K", "Ctrl-Shift+K", etc.) #3040

Open
life5ign opened this issue Dec 20, 2024 · 1 comment

Comments

@life5ign
Copy link




Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

I spend an inordinate amount of time trying to make my keyboard shortcuts for plugins not conflict with the built-ins and/or other plugin keyboard shortcuts that I've set. I'm wondering why there is the currently limitation to only two keys total (e.g. Ctrl-Y), and no combination of meta keys (Ctrl, Shift) allowed, e.g. Ctrl-Shift-Y?

Describe the solution you'd like
A clear and concise description of what you want to happen.

I'd like to be able to set keyboard Shortcuts like:

Simultaneous compound shortcuts

Ctrl-Shift-<alphanumeric>
Ctrl-Space-<alphanumeric>
<Shift-Space-<alphanumeric>
<Ctrl-Space-<alphanumeric>

The Ctrl-Shift is the most important part of those suggestions.

These would all need to be depressed at the same time.

Compound Shortcuts with sequential timeout

If possible, as a further extension to increase possibilities, a timeout system like the one that exists in vim and tmux could be used, where

Ctrl-Shift + <alphanumeric>

would be used, and executed by pressing Ctrl-Shift together, releasing, and quickly pressing <alphanumeric> within the configurable timeout, similarly to how leader in vim and prefix in tmux behave.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I know of none.

Additional context
Add any other context or screenshots about the feature request here.

@sbordeyne
Copy link

I'm in the same boat. Additionally, it's pretty limiting to only have access to alphanumeric characters. Some keyboard layouts have non-alphanumeric characters and even non-ASCII characters easily accessible. For instance, being able to press Shift-@ on a French Mac keyboard would be great, or Shift->. With a few plugins, there's no combinations remaining.

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

2 participants