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

fix: the vi-insert mode should insert the pending-keys (the length of command-keys > 1) for self-insert command. #1691

Conversation

sakurawald
Copy link
Contributor

To close issue: #1609

Before this commit: When executing the self-insert command in vi-insert mode, the first key in command-keys will be consumed, however, the rest keys in command-keys will be ignore.

After this commit: The rest keys in command-keys will also be inserted in vi-insert-mode.

This is useful when you define the j k as escape for vi-insert mode.

And you can press j k as escape in vi-insert-mode, and j e as self-insert j and self-insert e.

@cxxxr cxxxr merged commit c44ffde into lem-project:main Dec 8, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants