Enabling key-repeating doesn't work for cursor
if tried:
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false # For VS Code
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false # For VS Code Insider
defaults write com.vscodium ApplePressAndHoldEnabled -bool false # For VS Codium
defaults write com.microsoft.VSCodeExploration ApplePressAndHoldEnabled -bool false # For VS Codium Exploration users
defaults delete -g ApplePressAndHoldEnabled # If necessary, reset global default
and even cursor specifc:
mdls -name kMDItemCFBundleIdentifier /Applications/Cursor.app
kMDItemCFBundleIdentifier = "com.todesktop.230313mzl4w4u92"
defaults write com.todesktop.230313mzl4w4u92 ApplePressAndHoldEnabled -bool false
defaults delete -g ApplePressAndHoldEnabled
but i'm still not able to navigate by holding keys down... , i'm probably doing something wrong as i'm new to VS-code / Cursor
@matsjfunke Did you close and restart Cursor?
I did exctly what you did, restarted cursor (closed all windows), and I now have key-repeating working in cursor.
@FrankCoder yes i did
In my case defaults write com.todesktop.230313mzl4w4u92 ApplePressAndHoldEnbabled -bool false didn't work (I got the id using osascript -e 'id of app "Cursor"'.
What worked was defaults write -app Cursor ApplePressAndHoldEnabled -bool false and seems to have precedence over the former setting.
Cursor Version: 0.50.4 VSCode Version: 1.96.2