MacOS – How to disable Cmd + [Num] in Safari

macossafariWordpress

I use WordPress keyboard shortcuts a lot, but Safari's use of Cmd + [Num] (e.g. 1, 2, 3) is overriding WordPress' use (which formats text with tags).

How can I disable Safari's use of the keyboard shortcut so that I can use it for WordPress?

Best Answer

The shortcuts are defined as the first few bookmarks in your Bookmarks Bar. You can see which bookmarks are defined by going to Bookmarks → Favorites Bar. Since they are menu items, you can disable them by remapping them to something else.

  1. Open System Preferences → Keyboard → App Shortcuts.

  2. Click the + to add a new shortcut.

  3. Set the Application to Safari, the Menu Title to the exact name of one of your bookmarks, and the Keyboard Shortcut to something other than ⌘#.

  4. Repeat the process for the other bookmarks.