Last active
December 27, 2023 10:22
-
-
Save wancw/9f9c5ce49eb9b0503801d4cbd9dedec2 to your computer and use it in GitHub Desktop.
One-liner to enable "press to repeat" on macOS for all JetBrains IDEs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ripgrep is required | |
codesign -dr - ~/Applications/*.app 2>&1 \ | |
| rg --pcre2 -o '(?<=identifier ")com.jetbrains[^"]+(?=")' \ | |
| xargs -L 1 -I _ defaults read _ ApplePressAndHoldEnabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment