Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Basic commands in Normal mode keep getting appended to the "Pending Command Keys"

Open Helloburp opened this issue 1 year ago • 3 comments

Describe the bug Seemingly at random, my extension enters a state where I cannot enter commands normally. Instead, they are added to the "pending command keys" list. This list only clears if I tap my escape key twice. Additionally, I cannot enter insert mode unless the list is clear. The only way that I've found to fix this is to restart the extension or to restart VSCode.

To Reproduce Unfortunately I cannot consistently reproduce this behavior.

Expected behavior I expect for basic commands like motions not to be added to this command list.

Screenshots If applicable, add screenshots to help explain your problem. If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Video (See to the left of Rojo on the status bar): https://github.com/user-attachments/assets/c0e8b0a3-fa60-4009-8d7a-1c3c1e9d6539

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.27.3

  • VSCode version: 1.92.1

  • OS: Windows 11

Additional context I have not changed any settings or remapped anything. I have caps lock bound to Esc with an autohotkey script.

Helloburp avatar Aug 14 '24 03:08 Helloburp

This issue has been driving me crazy off and on for 6 months.

shivros avatar Aug 15 '24 02:08 shivros

I have the same issue since several months. At the very least, a timeout should clear the pending command keys from the editor. Currently the only way to handle this is to disable vscodevim, save all unsaved changes, reopen the window, and then enable vscodevim again.

GaurangTandon avatar Sep 30 '24 14:09 GaurangTandon

Also with macos.

jeiea avatar Oct 08 '24 09:10 jeiea

Are we talking about this kind of list in the bottom right corner of the status bar? image

ivan-toriya avatar Oct 23 '24 09:10 ivan-toriya

Hi @ivan-toriya I think that's right. I'm still facing this issue (coincidentally got it today as well 🙂) and based on @Helloburp 's attached video it seems it's the same issue.

GaurangTandon avatar Oct 23 '24 11:10 GaurangTandon

@GaurangTandon Ops, I somehow missed the video link. Yeah, it's the same issue.

I started getting it at "random" maybe a month ago. Only reload fixes the issue for me.

ivan-toriya avatar Oct 23 '24 11:10 ivan-toriya

I have a similar problem where often when I try to leave normal mode, I find i and a pending. This is a bit irritating at times because it started to happen more often.

I am not sure what the behaviour is for other keys but I am feeling something wrong with the experience and don't know exactly if I am doing something wrong.

wmstack avatar Oct 27 '24 07:10 wmstack