How to Add Keyboard Shortcuts on Any Device or OS

Keyboard shortcuts are one of those small things that quietly transform how fast you work. Instead of navigating menus with a mouse, you press two or three keys and the action happens instantly. The good news: almost every major operating system and application lets you create or customize shortcuts. The catch is that the process varies quite a bit depending on where you're working and what you want to accomplish. ⌨️

What Keyboard Shortcuts Actually Are

A keyboard shortcut is a key combination that triggers a specific command or action. Some are built in — like Ctrl+C to copy on Windows or Cmd+C on Mac. Others can be custom-assigned by you, either through your operating system's settings or through individual apps.

There are two broad categories worth understanding:

  • System-level shortcuts — assigned through your OS, they work across the desktop, file manager, or globally.
  • Application-level shortcuts — assigned inside a specific app (like a browser, code editor, or word processor), they only work when that app is active.

Both types follow the same basic logic: a trigger key combination maps to a command. What changes is where you define that mapping.

How to Add Keyboard Shortcuts on Windows

Windows offers a couple of built-in paths, depending on what you want the shortcut to do.

For Launching Apps or Files

  1. Right-click the app's shortcut on your desktop or in the Start Menu and select Properties.
  2. Click into the Shortcut key field.
  3. Press the key combination you want to use — Windows automatically prepends Ctrl+Alt to whatever key you press.
  4. Click Apply and then OK.

This works for launching programs quickly, but it's limited to Ctrl+Alt+[key] combinations, which can occasionally conflict with other software.

For System-Wide Actions

Windows doesn't have a native system-wide shortcut manager beyond what's described above. For more flexibility — like remapping individual keys or building complex shortcuts — many users turn to PowerToys, Microsoft's free utility. Its Keyboard Manager module lets you remap keys and create custom shortcuts without restrictions on the key combinations.

Inside Applications

Most Windows apps (Word, Excel, Photoshop, VS Code, etc.) have their own shortcut editors buried in settings or preferences menus. Look for Tools → Customize or Settings → Keyboard Shortcuts depending on the app.

How to Add Keyboard Shortcuts on macOS

Mac gives you a clean, centralized place to manage shortcuts.

  1. Open System Settings (or System Preferences on older macOS versions).
  2. Go to Keyboard → Keyboard Shortcuts.
  3. Select App Shortcuts from the left panel.
  4. Click the + button.
  5. Choose an application from the dropdown (or select All Applications for a global shortcut).
  6. Type the exact menu item name you want to trigger — spelling and punctuation must match exactly.
  7. Click in the Keyboard Shortcut field and press your desired key combination.
  8. Click Add.

This approach works for any menu item in any app. If a menu command is called "Export as PDF," you type exactly that, and macOS maps your shortcut to it.

For deeper customization — like triggering scripts or system actions — Automator or third-party tools like Karabiner-Elements give you considerably more control.

How to Add Keyboard Shortcuts on Linux

Linux varies by desktop environment, but the general path on popular environments is:

  • GNOME: Settings → Keyboard → View and Customize Shortcuts → Custom Shortcuts → click +
  • KDE Plasma: System Settings → Shortcuts → Custom Shortcuts

In both cases, you define a name, an action (usually a terminal command or script), and the key combination. This makes Linux's system-level shortcuts particularly powerful — you can bind any shell command to a keypress.

How to Add Keyboard Shortcuts in Browsers

Both Chrome and Firefox support shortcut customization through extensions rather than native settings. Extensions like Shortkeys (Chrome/Edge) let you assign key combinations to common browser actions — opening new tabs, navigating history, or running custom JavaScript.

Firefox also has limited built-in shortcut customization through its userChrome.js method, though that requires editing configuration files manually.

How to Add Keyboard Shortcuts on Mobile (iOS and Android) 🔤

Smartphones handle this differently. Neither iOS nor Android supports custom keyboard shortcuts in the traditional sense, but both offer text replacement as a workaround:

  • iOS: Settings → General → Keyboard → Text Replacement. Type a short phrase and the full text it expands to.
  • Android: Settings → General Management → Keyboard → Samsung Keyboard Settings (or equivalent), then look for Text Shortcuts or Personal Dictionary.

These aren't action shortcuts — they're text expansion triggers. True keyboard shortcut customization on mobile typically requires third-party keyboard apps.

Variables That Change the Outcome

FactorWhy It Matters
Operating system and versionShortcut managers differ between Windows 10 and 11, macOS Ventura vs. Sonoma, etc.
Application supportNot every app exposes its commands to the OS shortcut layer
Technical comfort levelSome methods (PowerToys, Karabiner, userChrome.js) require more setup
Conflict potentialPopular combinations like Ctrl+Shift+S may already be claimed
Use caseApp launching, text expansion, and command automation each use different tools

The Spectrum of Customization

At one end, you have simple built-in options — a Mac user adding a shortcut to a single menu item takes under a minute. At the other end, a developer using AutoHotkey on Windows or Karabiner-Elements on Mac can script complex multi-step behaviors triggered by a single keypress.

Most people land somewhere in the middle: a few custom shortcuts inside frequently used apps, maybe one or two system-level ones for programs they open constantly. But "a few" for one person might mean five shortcuts; for a power user, it might mean fifty carefully mapped across multiple tools.

The right approach depends entirely on which OS you're running, what apps are central to your workflow, how comfortable you are with settings menus versus configuration files, and what friction you're actually trying to remove from your daily routine. Those details are yours to assess — and they'll point you toward a very different setup than someone working in a different environment.