MacOS – Disable accent functionality from backtick button

karabinerkeybindingskeyboardmacos

I often type backticks (`) in various situations (Markdown, Github, SO, etc), and since the button used to type them also is used to modify letters (é/è/ú), writing backticks is generally a pain. On a scandinavian keyboard you also have to add the shift modifier, which doesn't help.

Currently, I feel like shift+backtick+space is the most predictable way of typing backticks.

But! I realized that I never use that key for anything other than backticks, and figured that it would be neat to modify the key to simply always output a single backtick. I can totally live with losing the accent functionality, but I guess it could potentially be kept accessible through modifiers.

I looked into Karabiner to achieve this, and while it's possible to rebind the key, it doesn't seem possible to map its output to a single backtick character.

And ideas?

Best Answer

It's pretty easy to make a custom layout which removes the dead key function from a key using Ukelele.