The Palos Publishing Company

Follow Us On The X Platform @PalosPublishing
Categories We Write About

Create custom keyboard shortcuts

Creating custom keyboard shortcuts can significantly improve productivity by allowing you to perform frequent tasks quickly. Here’s a detailed guide on how to create custom keyboard shortcuts across various platforms and applications:


1. Windows

A. Create Shortcuts for Programs

  1. Right-click the program icon (on Desktop or in Start Menu).

  2. Click Properties.

  3. Go to the Shortcut tab.

  4. Click in the Shortcut key field.

  5. Press the key combination you want (e.g., Ctrl + Alt + N).

  6. Click Apply, then OK.

B. Use AutoHotkey for Advanced Custom Shortcuts

  1. Install AutoHotkey.

  2. Right-click your desktop, select New > AutoHotkey Script.

  3. Edit the script, e.g.:

    ahk
    ^!n::Run notepad.exe ; Ctrl + Alt + N to open Notepad
  4. Save and double-click the script to run.

  5. Add to startup for persistence.


2. macOS

A. System Keyboard Shortcuts

  1. Go to System Settings > Keyboard > Keyboard Shortcuts.

  2. Choose a category (e.g., App Shortcuts).

  3. Click the + button to add a new shortcut.

  4. Select the app, enter the exact menu title, and the shortcut keys.

B. Using Automator and Shortcuts App

  1. Open Automator or Shortcuts.

  2. Create a new Quick Action or Shortcut.

  3. Assign a global keyboard shortcut in System Settings > Keyboard > Keyboard Shortcuts > Services.


3. Linux (Ubuntu / GNOME)

A. Create Custom Shortcuts

  1. Open Settings > Keyboard > Custom Shortcuts.

  2. Click the + button.

  3. Add a name, command (e.g., gnome-terminal), and shortcut key.

B. Use xdotool or xbindkeys for Advanced Mapping
Install xdotool:

bash
sudo apt install xdotool

Use it to simulate key presses or mouse actions. Combine with xbindkeys for full customization.


4. Browser-Specific Shortcuts

A. Google Chrome / Firefox Extensions

  • Use extensions like Shortkeys (Chrome) or Custom Shortcuts (Firefox).

  • Assign keys to actions like opening tabs, running JavaScript, etc.


5. Microsoft Office Apps

A. Word / Excel / PowerPoint

  1. Go to File > Options > Customize Ribbon > Keyboard Shortcuts: Customize.

  2. Select the command, then assign a new key combination.

  3. Save to Normal.dotm for persistence in Word.


6. Adobe Creative Cloud Apps (Photoshop, Illustrator, etc.)

  1. Go to Edit > Keyboard Shortcuts.

  2. Browse or search for commands.

  3. Enter custom key combinations.

  4. Save as a new shortcut set.


7. VS Code

  1. Open File > Preferences > Keyboard Shortcuts or press Ctrl + K Ctrl + S.

  2. Search for a command.

  3. Click the pencil icon next to the command.

  4. Press the desired key combination.

Optional: Edit keybindings.json for direct customization.


8. Custom Web App Shortcuts with Bookmarklets or Extensions

Bookmarklet Example:

javascript
javascript:alert("Hello World!");

Save as a bookmark, assign it a keyword or use tools like Tampermonkey for complex scripting and shortcut integration.


Tips for Designing Effective Shortcuts:

  • Avoid overriding essential system shortcuts.

  • Use a consistent pattern (e.g., Ctrl + Shift + Letter for all shortcuts).

  • Group similar actions under similar prefixes.

  • Document shortcuts for team use or personal reference.


Custom keyboard shortcuts offer a tailored workflow that can significantly reduce repetitive mouse interactions. Whether through OS-level tools, scripting, or in-app preferences, virtually every environment offers a way to enhance speed and efficiency with shortcut automation.

Share this Page your favorite way: Click any app below to share.

Enter your email below to join The Palos Publishing Company Email List

We respect your email privacy

Categories We Write About