Skip to content

Instantly share code, notes, and snippets.

@maxandersen
Created January 9, 2014 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxandersen/43e9ec4e8e76de7895bb to your computer and use it in GitHub Desktop.
Save maxandersen/43e9ec4e8e76de7895bb to your computer and use it in GitHub Desktop.
{
// Keybindings to emulate Postbox defaults in MailMate
// From: http://www.postbox-inc.com/support/postbox_shortcuts
// Created by Ian Beck <http://beckism.com>
// Copied and edited by Benny Kjær Nielsen based on: https://gist.github.com/3060762/2ade5111f95c8f219e147761070858467627daf3
"f" = "nextMessage:";
"b" = "previousMessage:";
"n" = "nextUnreadMessage:";
"p" = "previousUnreadMessage:";
"T" = "nextUnreadThread:";
"o" = "openMessages:"; // This isn't actually equivalent, but it's the closest I can find
"\UF703" = "expandThread:"; // →
"\UF702" = "collapseThread:"; // ←
"a" = "archive:";
"g" = "goToMailbox:";
"v" = "moveToMailbox:";
"s" = "toggleFlag:";
"m" = "toggleReadState:";
"r" = "markThreadAsRead:";
"j" = "markAsJunk:";
"J" = "markAsNotJunk:";
"/" = "mailboxSearch:";
// These are not the standard Postbox shortcuts, because those shortcuts are already in use
"c" = "showCorrespondence:";
"t" = "showThread:"; // Not a Postbox default, but darn useful in MailMate
// Associate indent/outdent with quoting
"@]" = "increaseQuoteLevel:";
"@[" = "decreaseQuoteLevel:";
// Mark deleted messages as read (Postbox does this automatically)
"\U007F" = ( "setTag:", "\\Seen", "deleteMessage:" ); // ⌫ (or use \UF728 for ⌦)
// Mark all read in mailbox
"M" = ( "mailboxSetTag:", "\\Seen" );
"N" = "selectNextMailBox:";
"P" = "selectPreviousMailbox:";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment