When using Cursor’s Vim plugin on macOS, you might notice that holding down keys like j or k for navigation doesn’t repeat as expected. Instead of continuous movement, the system shows accent character options or simply doesn’t repeat at all.

This happens because macOS has “Press and Hold” enabled by default, which interferes with Vim’s key repeat functionality.

The Fix

Run this command in Terminal to disable Press and Hold specifically for Cursor:

defaults write com.todesktop.230313mzl4w4u92 ApplePressAndHoldEnabled -bool false

Restart Cursor for the changes to take effect.

Finding Your Bundle ID

If the command above doesn’t work (Cursor updates might change the bundle ID), you can find the correct identifier:

  1. Right-click on Cursor in Applications
  2. Select “Show Package Contents”
  3. Open Contents/Info.plist
  4. Look for the CFBundleIdentifier value

Replace the bundle ID in the command with your specific identifier.

Resources