I'm looking for a way to change the default "send" shortcut in mail to "tab + enter" (like gmail)

I've found a way to change it to cmd + enterwith the following:

defaults write com.apple.mail NSUserKeyEquivalents -dict-add "Send" "@\\U21a9"

but doing something like:

defaults write com.apple.mail NSUserKeyEquivalents -dict-add "Send" "\\u21E5\\U21a9"

Does not work.

I've followed this answer, but I am unable to add the tab key in the shortcut dialog, and would prefer to do it from the command line.


3 Answers 3


Because tab isn't a modifier key (like command, shift, option and control), you can't use it in combination with other non-modifier keys to make a shortcut. It's simply not possible the way the OS X input systems work AFAIK.

You might be able to jury-rig something together using KeyboardMaestro or similar apps that listens for tab-return and then executes the send mail command, but I don't know how well it would work, or how closely it would match your expected behaviour.

  • Alas, I will have to face the pain and just re-learn that shortcut when I am using mail. Thanks for the help! Nov 13, 2012 at 18:41
defaults write com.apple.mail NSUserKeyEquivalents -dict-add "Send" $'@\\U21a9'
  • Welcome to Ask Different. We like answers to be more than just a single line. Ideally, you want to explain why your answer is *right." It also helps to provide links, citations, and/or screen shots. Please review our help section How to Answer on writing good answers to questions
    – Allan
    Mar 30, 2017 at 1:03

You could save this as private.xml in KeyRemap4MacBook.

<?xml version="1.0"?>
<autogen>--SimultaneousKeyPresses-- KeyCode::TAB, KeyCode::RETURN, KeyCode::D, VK_SHIFT, VK_COMMAND</autogen>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .