Last active
December 30, 2015 05:59
-
-
Save driesg/7786266 to your computer and use it in GitHub Desktop.
Custom keybindings for MailMate. Some my own, others from various sources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Message Actions | |
"o" = "openMessages:"; // Don't really use this. ⌘o still works | |
"j" = "markAsJunk:"; | |
"J" = "markAsNotJunk:"; | |
"s" = "toggleFlag:"; | |
"m" = "toggleReadState:"; | |
"a" = ( "setTag:", "\\Seen", "archive:"); // archive and mark read | |
"A" = ( "selectWithFilter:", "#thread-id = ${#thread-id}","setTag:", "\\Seen", "archive:" ); // Select whole thread, mark as read and archive | |
"=" = ( "moveToMailbox:",'/Action'); | |
"\U007F" = ( "setTag:", "\\Seen", "deleteMessage:" ); // ⌫ delete and mark as read | |
// Navigation/Mailbox actions | |
"g" = { | |
"a" = ( "goToMailbox:", "ALL_MESSAGES" ); | |
"i" = ( "goToMailbox:", "INBOX" ); | |
"s" = ( "goToMailbox:", "SENT" ); | |
"f" = ( "goToMailbox:", "FLAGGED" ); | |
"=" = ( "goToMailbox:", "BDC80A1A-8F60-4B3C-8EF4-0ECF19B62B58" ); // Action smart mailbox | |
"l" = "goToMailbox:"; // Don't really use this. ⌘t still works | |
"1" = ( "makeFirstResponder:", "mailboxesOutline" ); | |
"2" = ( "makeFirstResponder:", "mainOutline" ); | |
"3" = ( "makeFirstResponder:", "messageView" ); | |
}; | |
"c" = "showCorrespondence:"; | |
"t" = "showThread:"; | |
"v" = "moveToMailbox:"; | |
"r" = "markThreadAsRead:"; | |
"/" = "mailboxSearch:"; | |
// Composer | |
"@S" = "sendAndArchiveParent:"; // ⌘⇧S | |
"@$=" = ( "sendAndMoveParentToMailbox:",'/Action'); // ⌘⇧= | |
"@]" = "increaseQuoteLevel:"; | |
"@[" = "decreaseQuoteLevel:"; | |
// Markdown shortcuts thanks to Brett Terpstra: https://github.com/ttscoff/KeyBindings/ | |
// bold selection | |
"@b" = (selectWord:, setMark:, swapWithMark:, deleteToMark:, insertText:, "**", yank:, insertText:, " ", moveLeft:, insertText:, "**", moveRight:, deleteBackward:); | |
// italicize selection | |
"@i" = (selectWord:, setMark:, swapWithMark:, deleteToMark:, insertText:, "*", yank:, insertText:, " ", moveLeft:, insertText:, "*", moveRight:, deleteBackward:); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added a few of your keybindings to my keybindings file, and just wanted to say thanks for making that available!