DEV Community

Cover image for Customizing Keyboard Shortcuts for any macOS App
Ishan Sharma
Ishan Sharma

Posted on • Originally published at ishan.co on

Customizing Keyboard Shortcuts for any macOS App

If you are reading this, chances are that you use keyboard shortcuts as part of your daily workflow. From cut, copy, paste to the “Paste and Match Style” to IDE's code folding and unfolding, there are shortcuts that you use without even realizing. Most apps allow you to customize the shortcuts, but you may find a few that do not support that.

I was in this situation a couple of weeks ago when I needed a quick shortcut to archive the messages in Mail app. The default shortcut was not very intuitive and I needed something quick, like ⌘ + A.

After some searching, I found that macOS has a built-in setting that lets you customize shortcuts for any app.

You just need to go to System Preferences → Keyboard → Shortcuts → App Shortcuts and add a new one. You can either add a shortcut for a specific app or system wide.

Some other shortcuts that I use in the Mail app:

  1. ⌘ + 1 for numbered lists
  2. ⌘ + 8 for unnumbered lists

Here’s the tweet that inspired me to write this post (good tip, though I don’t use it):

And here’s Apple’s documentation if you prefer detailed steps: macOS Sierra: Create keyboard shortcuts for apps.

Know any other tips like this? Go ahead and share in the comments or on Twitter.

Top comments (0)