Skip to content

Instantly share code, notes, and snippets.

@pjaspers
Created October 28, 2020 12:27
Show Gist options
  • Save pjaspers/dfd166f97565519334af29aa5b19828c to your computer and use it in GitHub Desktop.
Save pjaspers/dfd166f97565519334af29aa5b19828c to your computer and use it in GitHub Desktop.
mailmate-keybindings-gmail-mutt-and-me.plist
{
// Based on the gmail keybindings, and some mutt, and some me.
"@\U000A" = "send:"; // ⌘+return
"@\U000D" = "send:"; // ⌘+enter
"c" = "newMessage:";
"/" = "searchAllMessages:";
"n" = "nextMessage:";
"p" = "previousMessage:";
"j" = "nextThread:";
"k" = "previousThread:";
"o" = "openMessages:"; // Gmail: Also expands or collapses a message if you are in 'Conversation View.'
"e" = "archive:";
"m" = ( "toggleMuteState:", "archive:" ); // FIXME: Should be 'markAsMuted:'
"s" = "toggleFlag:";
"!" = "moveToJunk:";
"r" = "reply:";
"a" = "replyAll:";
"f" = "forwardMessage:";
"^s" = "saveDocument:";
// l Label
"v" = "moveToMailbox:";
"#" = "deleteMessage:";
"I" = ( "setTag:", "\\Seen", "nextMessage:");
"U" = ( "removeTag:", "\\Seen");
// Only in MailMate
"N" = "moveDownAndModifySelection:";
"P" = "moveUpAndModifySelection:";
"J" = "moveDownAndModifySelection:";
"K" = "moveUpAndModifySelection:";
"Z" = "redo:";
// Combo keys
"g" = {
"a" = ( "goToMailbox:", "ALL_MESSAGES" );
"s" = ( "goToMailbox:", "FLAGGED" );
// g then c Go to 'Contacts' Takes you to your Contacts list.
"d" = ( "goToMailbox:", "DRAFTS" );
"l" = "goToMailbox:";
"i" = ( "goToMailbox:", "INBOX" );
"t" = ( "goToMailbox:", "SENT" );
};
"*" = {
"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.
};
// Here we go off the beaten path
"`" = {
"a" = ( "moveToMailbox:", "/@action" );
"w" = ( "moveToMailbox:", "/@waiting" );
};
"J" = "selectNextMailboxRow:";
"~J" = "selectNextCountedMailbox:";
"K" = "selectPreviousMailboxRow:";
"~K" = "selectPreviousCountedMailbox:";
";" = "nextUnreadMessage:";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment