# Fast key repeat with VIM mode breaks editor

**URL:** <https://forum.cursor.com/t/fast-key-repeat-with-vim-mode-breaks-editor/60134>\
**Category:** Bug Reports\
**Created:** [March 6, 2025, 9:20am UTC](https://forum.cursor.com/t/fast-key-repeat-with-vim-mode-breaks-editor/60134 "2025-03-06T09:20:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![truongio](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@truongio](https://forum.cursor.com/u/truongio)\
**Post date:** [March 6, 2025, 9:20am UTC](https://forum.cursor.com/t/fast-key-repeat-with-vim-mode-breaks-editor/60134/1 "2025-03-06T09:20:25Z")

</div>

**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:

```auto
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**  
 ![Screenshot -2025-03-06 at 09.41.39-converted MConverter.eu](https://us1.discourse-cdn.com/cursor1/original/3X/4/7/47ad65092a7b8eb6a22af4a03d126141c625e783.avif)

**Example 2**  
 ![Screenshot -2025-03-06 at 10.49.05](https://us1.discourse-cdn.com/cursor1/original/3X/4/3/4353f9fbe2dff102933d6ac7ec2bfb0ff1d8f4b6.gif)

**OS and environment**  
macOS Sequoia 15.3.1 (24D70)  
Cursor Version: 0.46.9

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 5, 2025, 9:21am UTC](https://forum.cursor.com/t/fast-key-repeat-with-vim-mode-breaks-editor/60134/2 "2025-04-05T09:21:07Z")

</div>

Closed on April 5, 2025, 9:21am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
