Wednesday, April 2, 2025

Key-repeat suddenly stopped working in VSCode

 I had just fired up copilot and thought that was the cause.  I was editing a file in VSCode and had the Vim extension installed.  I use HJKL to move around a file, often holding down the key to move multiple lines.  It stopped working.  The K key would also pop up an Apple press and hold autocomplete suggestion that just contained a single k.

I removed the CoPilot extension and this behavior continued.  After much search, found this SO question.

This command turns off ApplePressAndHold for the VSCode application...

defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false

Set True to re-enable.

No comments:

Post a Comment