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

Feature Request: delayed mapping/map timeout #23

Open
JPTIZ opened this issue May 9, 2022 · 0 comments
Open

Feature Request: delayed mapping/map timeout #23

JPTIZ opened this issue May 9, 2022 · 0 comments

Comments

@JPTIZ
Copy link

JPTIZ commented May 9, 2022

On my Linux setup, specially with vim/neovim, I have:

  • CapsLock and L Control keys swapped;
  • If CapsLock (physical key location) is pressed for less than ~300ms, then it is not mapped to L Control, but to Escape instead.

Or, in other words:

  • L Ctrl maps to CapsLock
  • CapsLock maps to:
    • L Ctrl if pressed for longer than 300ms;
    • Escape otherwise.

This allows me to quickly enter normal mode (nvim), cancel things, etc., with little movement from my left hand (and since a lot of keyboard shortcuts use Ctrl key, it is very useful to have Escape in the same place). Having this on Windows as well would be an awesome Windows experience.

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