How to Create and Assign Custom Keyboard Shortcuts to Any App Menu Item in macOS

Navigating desktop applications on a Mac using only a mouse or trackpad introduces hundreds of repetitive movements every day: repeatedly clicking through nested menus to export a PDF, transform text case, or paste values without formatting slows down editing workflows significantly. While software like Microsoft Word, Adobe Photoshop, and Safari provide default keyboard shortcuts for common functions, many frequently used commands lack shortcuts altogether. macOS includes an extraordinary, system-wide customisation engine that lets users bind custom hotkeys to virtually any menu command in any Mac application.

The Foundational Rule: Exact Menu Title Matching

The macOS shortcut engine binds hotkeys by scanning the active application’s menu bar for an exact text match. To ensure your custom shortcut functions properly, you must follow two rules:

  • Exact Spelling and Capitalisation: You must type the menu command exactly as it appears in the software (for example, Export as PDF… rather than export pdf).
  • Ellipsis vs Three Periods: Many menu commands that open a dialogue box end with an ellipsis. If the menu item uses an actual typographic ellipsis (…) rather than three individual period characters (...), typing three periods will fail. You can produce an authentic ellipsis character on Mac by pressing Option + ; (semicolon).

Step 1: Discover the Exact Menu Command Name

Before entering System Settings:

  1. Open the application where you wish to add the shortcut (such as Pages, Safari, or Preview).
  2. Locate the target command inside the top menu bar (e.g. File > Export To > PDF…).
  3. Note the exact wording, spacing, capitalisation, and punctuation.

Step 2: Add the Custom Shortcut in macOS System Settings

Once you know the exact command name:

  1. Open the Apple menu () and select System Settings.
  2. Scroll down the left navigation sidebar and click on Keyboard.
  3. Click the Keyboard Shortcuts… button in the main panel.
  4. In the modal sheet, select App Shortcuts from the left list.
  5. Click the + (Add) button beneath the shortcuts list.
  6. In the configuration popup:
    • Application: Choose whether the shortcut applies to All Applications or select a specific app (recommended to avoid hotkey collisions).
    • Menu Title: Type the exact command text you noted earlier (e.g. Export as PDF…).
    • Keyboard Shortcut: Click into the field and press your desired key combination (e.g. Cmd + Shift + E).
  7. Click Done, then click Done again to exit Keyboard Shortcuts.

Step 3: Validating Your New Shortcut in the App

To confirm that macOS bound the shortcut successfully:

  1. Switch back to your target application.
  2. Click the menu where the command resides.
  3. Look alongside the command name. You should now see your newly assigned key combination displayed prominently on the right.
  4. Press the shortcut on your keyboard to verify that the command executes instantly without opening the menu.

Recommended Custom Shortcuts for Everyday Mac Productivity

Application Menu Title Command Suggested Key Shortcut Workflow Benefit
Safari Duplicate Tab Cmd + Shift + D Quickly clone research pages
Pages / Word Paste and Match Style Cmd + Shift + V Strips web formatting on paste
Preview Export as PDF… Cmd + Shift + E Instant document conversion
Finder Move Item Here Cmd + Option + V Cuts and moves rather than copies

Troubleshooting Unresponsive Custom Shortcuts

If pressing your shortcut produces no action or sounds an alert beep:

  • Punctuation Mismatch: The most common error is typing three full stops (...) instead of a true typographical ellipsis (…). Re-enter System Settings, delete the ending characters, and press Option + ;.
  • Hotkey Collision: Ensure the combination you selected is not already reserved by the application for another action (such as Cmd + S for Save).
  • Relaunch the Application: Some third-party macOS applications build their menu trees dynamically on startup. Quit the application (Cmd + Q) and relaunch it to force menu re-indexing.

Creating tailored keyboard shortcuts across your core Mac software eliminates repetitive mouse navigation, speeding up daily document editing and administrative tasks effortlessly.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.