- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
FrankCoder commentedon Apr 1, 2025
@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.
matsjfunke commentedon Apr 8, 2025
@FrankCoder yes i did
Restructure mac key-repeating help section in README and add command …
ykka commentedon May 17, 2025
In my case
defaults write com.todesktop.230313mzl4w4u92 ApplePressAndHoldEnbabled -bool false
didn't work (I got the id usingosascript -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