Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

Thanks!

share|improve this question

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer
    
Alas, I will have to face the pain and just re-learn that shortcut when I am using mail. Thanks for the help! –  Nick Tomlin Nov 13 '12 at 18:41

You could save this as private.xml in KeyRemap4MacBook.

<?xml version="1.0"?>
<root>
<item>
<name>test</name>
<identifier>private.test</identifier>
<only>MAIL</only>
<autogen>--SimultaneousKeyPresses-- KeyCode::TAB, KeyCode::RETURN, KeyCode::D, VK_SHIFT, VK_COMMAND</autogen>
</item>
</root>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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