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

Binding Escape key to Command Mode has no effect #39

Closed
Tsilkow opened this issue Sep 30, 2023 · 2 comments
Closed

Binding Escape key to Command Mode has no effect #39

Tsilkow opened this issue Sep 30, 2023 · 2 comments

Comments

@Tsilkow
Copy link

Tsilkow commented Sep 30, 2023

I wanted to reproduce vim's exit from insert mode by pressing escape key, but I can't seem to do so.
I've added a custom binding for Command Mode to do that (I've had to do it directly in file), but Pressing escape does nothing. I've also removed all other mappings for escape key, but nothing changed.

Binding Insert Mode to Escape has some weird consequences too: insert mode is entered, but only after second press.

Can Escape a viable key for command mode/insert mode?

@Tsilkow
Copy link
Author

Tsilkow commented Sep 30, 2023

I figured it out, I didn't realize that entering Command/Insert mode meant changing the keymap.
I'd love to see that better documented.

@amibiz
Copy link
Owner

amibiz commented Oct 5, 2023

Yes, unfortunately your correct and it is not documented anywhere.
I have added an issue to address it #40.

Can you add it to the README and submit a PR? that would be very helpful.

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