Skip to content

Instantly share code, notes, and snippets.

@benwhalley
Last active September 19, 2018 07:54
Show Gist options
  • Save benwhalley/31e6cf75c0f695a4e710ff46e9034759 to your computer and use it in GitHub Desktop.
Save benwhalley/31e6cf75c0f695a4e710ff46e9034759 to your computer and use it in GitHub Desktop.
Mailmate key bindings
{
// Mailmate keybindings
"\U007F" = "archive:"; // ⌫
"@\U007F" = "deleteMessage:"; // ⌘+⌫
" " = "scrollPageDownOrNextUnreadMessage:";
"@S" = "saveAttachments:";
// Based on: https://mail.google.com/support/bin/answer.py?answer=6594
// Combo keys
"g" = {
"a" = ( "goToMailbox:", "ALL_MESSAGES" );
"f" = ( "goToMailbox:", "FLAGGED" );
// g then c Go to 'Contacts' Takes you to your Contacts list.
"d" = ( "goToMailbox:", "DRAFTS" );
"l" = "goToMailbox:";
"i" = ( "goToMailbox:", "INBOX" );
"s" = ( "goToMailbox:", "SENT" );
"o" = ( "toggleOnlineStateOfAllAccounts:" );
};
"@\U000A" = "send:"; // ⌘+return
"@\U000D" = "send:"; // ⌘+enter
"c" = "newMessage:";
"/" = "searchAllMessages:";
"p" = "previousMessage:";
"j" = "nextThread:";
"k" = "previousThread:";
"o" = "openMessages:"; // Gmail: Also expands or collapses a message if you are in 'Conversation View.'
//"m" = ( "toggleMuteState:", "archive:" ); // FIXME: Should be 'markAsMuted:'
"s" = "toggleFlag:";
"!" = "moveToJunk:";
"r" = "reply:";
"a" = "replyAll:";
"f" = "forwardMessage:";
// l Label
"v" = "moveToMailbox:";
"Z" = "redo:";
"*" = {
"a" = "selectAll:";
"n" = "deselectAll:";
"r" = ( "selectWithFilter:", "#flags.flag = '\\Seen'"); // Selects all mail you've read.
"u" = ( "selectWithFilter:", "#flags.flag !=[x] '\\Seen'"); // Selects all unread mail.
"s" = ( "selectWithFilter:", "#flags.flag = '\\Flagged'"); // Selects all starred mail.
"t" = ( "selectWithFilter:", "#flags.flag !=[x] '\\Flagged'"); // Selects all unstarred mail.
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment