Solving Infuriating Mac Error Sounds

May 25, 2022 - By

Look. I’m not the most patient person. When my Mac started making the bonk/boop/beep sound with my Command+Ctrl+Down Arrow line-bubbling keyboard shortcut I started slowly losing my mind. I originally thought it was just a VS Code issue, but either the move to Sublime Text 4 or a M1 introduced the issue to my favourite text editor too. So, I took 15min to research, experiment, and (thankfully) fix it.

The clues I found weren’t exhaustively helpful, so here’s the steps (even if it’s only for my future reference):

In terminal I run 3 commands; build a directory, put a file in it, then put code in the file (I’d usually use my custom subl alias instead of nano, but I’m hoping to help anyone else)

mkdir ~/Library/KeyBindings
touch ~/Library/KeyBindings/DefaultKeyBinding.dict
nano ~/Library/KeyBindings/DefaultKeyBinding.dict

Then paste this code into nano:

{
    "^@\UF701" = "noop:";
    "^@\UF702" = "noop:";
    "^@\UF703" = "noop:";
}

You may be wondering what this code does. Let me know.
To get out of Nano ctrl+x and hit enter to save. Doing this instantly fixed my issues in Sublime, but Obsidian needed to be restarted.

Categorized in:

This post was written by ArleyM