Is there a way to create "alias" for keyboard shortcuts on Mac? That is, may I map different keyboard shortcuts to the same function? Simply put, let Ctrl+Tab and Ctrl+` both work as switch-to-next-tab in Firefox. (Note, these keys don't have to be application-specific).

Currently, through the "Shortcuts" tab under Keyboard from the System Preference, I can map menu item to a single keyboard shortcut. However, this is the end of the story. Though such mappings could even be application-specific, I still cannot assign multiple keyboard shortcuts to the same menu item.

(Particular usage demand: my fingers are quite thick and it is natural for me to press nearby keys when trying to execute a certain keyboard shortcut.)

Thank you!

  • Do you mean like you have shortcutA and shortcutB. Then you want to create shortcutC = A+B? Not sure if thats what you mean or not. – Kent Mar 28 '16 at 19:07
  • Oh, I was intending to say, let ShortcutA and Shortcut do THE SAME THING. – llinfeng Mar 28 '16 at 19:41

Yes, there is a great tool to do this: Karabiner for OS X.

A powerful and stable keyboard customizer for OS X.

You may download it at https://pqrs.org/osx/karabiner/

  • What specific function/method in this App shall I specify, to achieve, for example: let <kbd>Ctrl</kbd>+<kbd>Tab</kbd> and <kbd>Ctrl</kbd>+<kbd>`</kbd> both work as switch-to-next-tab in Firefox. (Note, these keys don't have to be application-specific). – llinfeng Mar 29 '16 at 14:34
  • Karabiner does not work on 10.12 – Edward Z. Yang Apr 28 '17 at 14:34

A perfect alternative that I finally find is Keyboard Maestro. It has the potential to fully specify:

  • Global mappings that "summon" *.app programs that one can find through the Application\ folder;
  • Program-specific mappings that remap obscure mappings into "comfortable ones". For example:
    • I am used to having Ctrl + w to delete a word to the left of the cursor. It is doable in Keyboard Maestro to achieve this for Safari, for example. (I remapped ^w to work as Option + Backspace.)

My only complaint is that: Keyboard Maestro seems to operate on top of a nice GUI.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.