When I press Esc in Safari, it exits from full-screen mode.
There is another shortcut for that: CTRL-CMD-F and I'd rather keep only that one active.
Is it possible to disable the Esc keybinding?
I've looked at the Keyboard shortcuts and gestures in Safari on Mac page on the Safari User Guide. It says
To turn off or change keyboard shortcuts, see Create keyboard shortcuts for apps. [A page on macOS user guide]
But the Create keyboard shortcuts for apps page explains how to add a keyboard shortcut in the macOS settings section Apple menu > System Preferences > Keyboard > Shortcuts > App Shortcuts.
Obviously, I could remove a setting if it was listed there, but the default settings are not available.
I thought of binding the Esc key with an undefined menu item, but in some contexts that keybinding executes actions that I'd keep configured as they are, ideally.
In particular, it will perform the following (as presented in the Safari User Guide):
- "While typing in the Smart Search field, restore the current web page address"
- "Close Reader"
- "Cancel editing a bookmark name in the sidebar"
I've also tried inspecting the situation with CheatSheet. The app is really cool, it displays (almost) all the keyboard shortcuts for an app and allows to edit them via another app (not tested), but the "Esc" is not on the list so I guess it also can not be edited.
Esc=>Exit Full Screenand nothing else. On the bright side, I stumbled on a great open-source alternative to "Keyboard Maestro" called Karabiner-Elements, I love it! – acorello Dec 23 '20 at 19:55EsctoShift+Escfor the Safari app only. Adding a modifier toEscworked as a by-pass to the default action. Check the official docs for the details. – acorello Nov 11 '21 at 16:04