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

How to implement inoremap jj <ESC> in input like vim #1217

Open
alaric8 opened this issue Sep 14, 2024 · 1 comment
Open

How to implement inoremap jj <ESC> in input like vim #1217

alaric8 opened this issue Sep 14, 2024 · 1 comment

Comments

@alaric8
Copy link

alaric8 commented Sep 14, 2024

No description provided.

@gdh1995
Copy link
Owner

gdh1995 commented Oct 19, 2024

Um Vimium C can not support jj as <esc>, because if applying this feature it will never know whether to block the first j key or not.

But you may map some other single keys to <esc>, and there has been <c-[> by default:

  • mapKey <c-d:i> <esc> will make Ctrl+D trigger Vimium C's "ESC-keydown" behavior only in insert mode
  • mapKey <c-d> <esc> will make Ctrl+D trigger Vimium C's "ESC-keydown" behavior in all modes

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