Problem:
When holding any of the keys k
or h
in VIM mode and having a fast key repeat, the editor will copy and insert random characters even though I’m not in insert mode. This only happens when the key repeat is fast. It’s exacerbated if you have multiple text windows up such as Terminal, Debug output, etc. Curiously, it doesn’t happen for j
or l
.
This does not happen in VSCode.
This happens much less frequently if I have “normal” key repeat. I currently have:
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms)
Example 1
Example 2
OS and environment
macOS Sequoia 15.3.1 (24D70)
Cursor Version: 0.46.9