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

Holding a motion key eventually inserts the letter #334

Open
GersonDias opened this issue Nov 27, 2024 · 1 comment
Open

Holding a motion key eventually inserts the letter #334

GersonDias opened this issue Nov 27, 2024 · 1 comment
Labels

Comments

@GersonDias
Copy link

Occasionally, when holding a movement key (e.g., k), the letter itself gets inserted into the current line before the motion continues. This some times deletes the line and inserts the key and other times just inserts the letter at end of the line and seems to happen more often right after saving the file (Ctrl+S) and immediately pressing the motion key. Could this be a VSCode issue? I've only noticed it recently.

Screen.Recording.2024-11-27.143513.mp4
@GersonDias GersonDias changed the title Holding a movement button eventually inserts the key Holding a motion key eventually inserts the letter Nov 27, 2024
@alisonatwork
Copy link
Collaborator

I have noticed this too, or something like it, occasionally. I think it happens when amVim is having a conflict with some other extension that's trying to do something with the cursor, maybe a "format on save" or organize imports or something. I don't have a lot of time to look at this plugin (even though I use it every day at work) but I'll keep it in mind. It is perhaps something to do with async code and stacked promises not resolving in the right way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants