# For macOS, run the following in the terminal
defaults write com.google.antigravity ApplePressAndHoldEnabled -bool falseI recently started to use Google Antigravity, moving away from VSCode. I'm also a heavy VIM user and the VIM extensions for VSCode-based IDEs has made dev life pretty sweet. But I also had some VIM defaults like key repeats to make navigation faster - actions like holding down j (to go down to the next line) or k (to go up). Gravity wasn't honoring my configs.
It turns out that macOS key-repeating is controlled per app bundle ID. So I had to do the same for Antigravity (see above).
I followed these steps:
# Get Antigravity's bundle identifier
osascript -e 'id of app "Antigravity"'
# This returns `com.google.antigravity`
# Disable press and hold for that bundle
$ defaults write com.google.antigravity ApplePressAndHoldEnabled -bool false
- TIL by
jbranchaud"Allow Key-Repeating with Cursor" (link)