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

imap with two keys consumes first key input #309

Closed
MichaelMackus opened this issue Oct 28, 2016 · 1 comment
Closed

imap with two keys consumes first key input #309

MichaelMackus opened this issue Oct 28, 2016 · 1 comment

Comments

@MichaelMackus
Copy link

If I have a mapping like this in vimb:

imap jk <Esc>

And I insert "j" into an insert field, it doesn't insert anything at all (even if I continue to insert other non "k" characters afterwards). I have to insert "j" twice in order to insert 1 character.

This is inconsistent with how VIM works. In VIM, if I have the above mapping, and I insert the "j" character it "waits" to see if the next character inserted matches the map. If it does not, it successfully inserts the "j" character (as well as the next character inserted).

@MichaelMackus
Copy link
Author

Closed, see #258

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