How to disable generating special characters when pressing the `alt+a`/`option+a` keybinding in Mac OS (`⌥+a` )?

Viewed 54990

There is a behavior in my mac that I'm trying to disable.

When I'm in any text editor and typing a key combination using the alt/option+any letter, the output will be special characters.

For example:
the combination alt+a will generate å.
the combination alt+x will generate ≈.

I want to cancel this behavior.
I'm a programmer and when I use my code editor I want to map some keybinding (keyboard shortcuts) to the alt key (⌥+a for example) but when I do that it doesn't execute because it generates the special characters.
I guess that the special character has a priority over my code editor shortcuts.

Do you know how can I disable this default behavior?

Thank you

9 Answers
Related