Exactly the same as the regular MacOS instructions, but you need to use the Cursor bundle identifier instead of VSCode.

mdls -name kMDItemCFBundleIdentifier /Applications/Cursor.app
# com.todesktop.230313mzl4w4u92

To enable key-repeating, execute the following in your Terminal, log out and back in, and then restart VS Code:

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

I use this with VSCodeVim via VSpaceCode (the spotty but excellent Spacemacs port to VSCode that I can’t live without right now).