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

Please allow us more flexible custom key binding #136605

Closed
askfiy opened this issue Nov 7, 2021 · 2 comments
Closed

Please allow us more flexible custom key binding #136605

askfiy opened this issue Nov 7, 2021 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) keybindings VS Code keybinding issues

Comments

@askfiy
Copy link

askfiy commented Nov 7, 2021

Please open more key binding rules!
To give a simple example, I hope to add a new instance window of vscode after pressing the 3 keys of space g n.
But the reality is that the key bindings that are not at the beginning of ctrl or cmd can only support up to 2 items. When you specify the combination of space g, it will stop receiving other sub-options.
This is bad for vim users, because the leader key of vim is very easy to use, but the vscode vim plugin cannot make the leader key valid outside the non-editor area.
This is a proposal worth considering. It is recommended to also add a leader-like key position in vscode to facilitate the operation of full keyboard users or develop more sub-options to receive.

@askfiy
Copy link
Author

askfiy commented Nov 7, 2021

There are still some users who are willing to define a set of key position rules by themselves instead of using the default ones.

@yume-chan
Copy link
Contributor

Duplicate of #6966

IIRC vim extension now uses type event for chords so it only accept keys in editors. But it may be possible to accept any chords by: 1. use one command for entering chords mode and set context 2. set key bindings with when clause and send keys to vim extension

@alexdima alexdima closed this as completed Nov 9, 2021
@alexdima alexdima added *duplicate Issue identified as a duplicate of another issue(s) keybindings VS Code keybinding issues labels Nov 9, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) keybindings VS Code keybinding issues
Projects
None yet
Development

No branches or pull requests

3 participants