I have a Mac (specifically Snow Leopard), so I'm used to Cmd+* to do things. My mail, for bold, underline, and italics, uses Ctrl+b/u/i instead of Cmd+b/u/i. How can I remap these three key combinations for one application only, or do something similar?

  • 2
    I think it might help if we new what Mail application you are using -- maybe there is a way to tweak that instead?
    – kalaracey
    Aug 18, 2011 at 22:10
  • It's Prism, which is based on Firefox, and my webmail (Project Phoenix from AOL). I hadn't thought of this, but could GreaseMonkey or something similar help me out here?
    – zpletan
    Aug 18, 2011 at 22:17
  • Could something like this serve as the basis for a solution: userscripts.org/scripts/show/9539? Added greasemonkey tag.
    – zpletan
    Aug 19, 2011 at 12:30
  • bump! I need this too for Remote Desktop for Mac! I've swapped CTRL and COMMAND system-wide in the Keyboard Preferences (under Modifiers) so the keyboard more closely matches Windows, but then RDP re-reverses them making my Windows now act like the Mac keyboard! Ugh! Dec 15, 2011 at 4:38
  • 1
    @Frobbit, as Daniel Beck mentions above, comments do not bump topics here. Additionally, the answer I would recommend for you would be user495470's. If this does not work, that's the start of a new question you can ask, I think.
    – zpletan
    Feb 11, 2016 at 17:17

1 Answer 1


I don't know about Prism or web applications, but for normal OS X applications there's the Keyboard Shortcuts preferences:

You can also modify the property list that stores the shortcuts directly with something like:

defaults write com.apple.mail NSUserKeyEquivalents -dict-add "New Message" "@Y"
  • The problem is, there's no menu entry, so I can't bind a custom keyboard shortcut to it.
    – zpletan
    Aug 19, 2011 at 12:07
  • Lri, could you explain the link you posted? It looks really cool but ... I don't quite understand what it does
    – kalaracey
    Aug 25, 2011 at 14:53
  • @kalaracey The whole script is a bit off-topic so you could've posted the comment for the Gist instead. But I edited it to contain a sample text file.
    – Lri
    Aug 25, 2011 at 15:14
  • Hey @Lri, your link seems to be down. Can you re-upload your file? Dec 15, 2011 at 4:39
  • @MarquelV Sorry, I removed the Gist after posting the script on my website at lri.me/appshortcuts.
    – Lri
    Dec 15, 2011 at 16:15

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.