Last active
April 2, 2024 21:08
-
-
Save gabrielecanepa/bae5a6bbb054ac707ea19b2757effedb to your computer and use it in GitHub Desktop.
Mac settings to avoid beeps with certain key bindings on Chromium-based applications like VS Code.
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
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
The following settings establish system-global key bindings for the key | |
combinations ^⌘↑, ^⌘→, ^⌘↓, and ^⌘← that are mapped to no operation ("noop"). | |
Simply having these declared as valid keystrokes at the OS level eliminates the | |
system beep that occurs even when a Chromium app accepts and handles the keystroke. | |
In order to establish this, create or update ~/Library/KeyBindings/DefaultKeyBinding.dict | |
and restart any applications where you want to use these keystrokes. | |
Reference: https://github.com/electron/electron/issues/2617 | |
*/ | |
{ | |
"@^\UF701" = "noop:"; | |
"@^\UF702" = "noop:"; | |
"@^\UF703" = "noop:"; | |
"@~^\UF701" = "noop:"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment