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

jk #4189

Merged
merged 12 commits into from
Jan 22, 2024
Merged

jk #4189

merged 12 commits into from
Jan 22, 2024

Conversation

ConradIrwin
Copy link
Collaborator

@ConradIrwin ConradIrwin commented Jan 22, 2024

Add support for mapping jk to escape in vim mode.

This changes the behaviour of the keymatches when there are pending matches.

Before: Even if there was a pending match, any complete matches would be triggered and the pending state lost.

After: If there is a pending match, any complete matches are delayed by 1s, or until more keys are typed.

Release Notes:

  • Added support for mapping jk in vim mode (#2378), (#176)

Before this change if you had a matching binding and a pending key,
the matching binding happened unconditionally.

Now we will wait a second before triggering that binding to give you
time to complete the action.
@mrnugget
Copy link
Member

Very cool!

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.

None yet

2 participants