Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode VIM Plugin doesn't register multiple leader key presses

So I'm using the VSCode VIM plugin with easymotion enabled and my leader key set to space. To trigges easymotion, I use the default way of hitting the leader key twice. So to use easymotion I would need to hit space twice and then follow with a motion to tell it in which direction I want to move.

Most of the time this workst fine. But very regularly, I hit space once and then VSCode VIM won't register my next space tap, but only the one after that. It's super annoying when you are in flow while editing and I just spent half an hour trying go replicate it reliably without success.

The first thing I'd like to know is if anyone else is experiencing this? And the second thing of course is how to solve it. It would be enough to know what is causing this most likely even, right now I kind of feel like I'm going crazy.

like image 812
user817795 Avatar asked Jul 12 '26 11:07

user817795


1 Answers

I am aware that 3 months have passed, maybe you haven't solved or this reply my help other.

I have a Macbook Air M1, I had the same problem I was going crazy, I solved thanks to a guy on reddit...

So you should go into System Preferences -> Keyboard -> [Click the text tab] -> at the right there are 3 checkbox you should uncheck the last one "Add full stop with double space"

Image showing the process described above

On macOS Ventura, looks like this setting has moved a bit. It's under System Preferences -> Keyboard -> [scroll to Text Input Area, and click Edit... next to Input Sources] -> uncheck "Add period with double-space"

Image of macOS keyboard input sources settings menu pane

like image 195
Aspiiire Avatar answered Jul 28 '26 19:07

Aspiiire



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!