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

Show pending keys in status line #515

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

sudormrfbin
Copy link
Member

helix-pending-keys

@archseer
Copy link
Member

Does it also work with counts? 10 (before pressing j), I like that behavior from vim since you can confirm where you're jumping to.

Also, now that I think about it, does esc clear all pending keys?

@sudormrfbin
Copy link
Member Author

Does it also work with counts? 10 (before pressing j), I like that behavior from vim since you can confirm where you're jumping to.

It works with counts now, and fixed a regression from the keymap PR where counts were not passed on to multi key mappings.

Also, now that I think about it, does esc clear all pending keys?

Escape clears it, but only because it's not mapped to any other key (it's the same in vim too).

helix-term/src/keymap.rs Outdated Show resolved Hide resolved
@archseer archseer merged commit 1493313 into helix-editor:master Jul 28, 2021
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.

3 participants