-
-
Save driesg/7522491 to your computer and use it in GitHub Desktop.
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
{ | |
// Keybindings to emulate Fastmail shortcuts in MailMate | |
// From: http://fastmail.wikia.com/wiki/KeyboardShortcuts | |
// Created by Jeffrey Horn <[email protected]> | |
"n" = "nextMessage:"; | |
"p" = "previousMessage:"; | |
"j" = "nextThread:"; | |
"k" = "previousThread:"; | |
"o" = "openMessages:"; | |
"\U000D" = "openMessages:"; // Enter | |
"\U000A" = "openMessages:"; // Return | |
"y" = "archive:"; | |
"m" = ( "toggleMuteState:", "archive:" ); // FIXME: Should be 'markAsMuted:' | |
"e" = "expandThread:"; // FIXME: should be 'toggleThread:' | |
"E" = "collapseThread:"; // extra, not in Fastmail by default | |
"g" = "goToMailbox:"; | |
"/" = "mailboxSearch:"; | |
"#" = "deleteMessage:"; | |
"d" = "deleteMessage:"; | |
"m" = "moveToMailbox:"; | |
"!" = "moveToJunk:"; | |
"r" = "reply:"; | |
"a" = "replyAll:"; | |
"c" = "newMessage:"; | |
"f" = "forwardMessage:"; | |
"s" = "toggleFlag:"; // extra, not in Fastmail by default | |
"z" = "undo:"; | |
// Only in MailMate | |
"N" = "moveDownAndModifySelection:"; | |
"P" = "moveUpAndModifySelection:"; | |
"J" = "moveDownAndModifySelection:"; | |
"K" = "moveUpAndModifySelection:"; | |
"Z" = "redo:"; | |
"." = { | |
"r" = "toggleReadState:"; // FIXME: should be 'markAsRead:' | |
"u" = "toggleReadState:"; // FIXME: should be 'markAsUnread:' | |
"p" = "toggleFlag:"; // FIXME: should be 'markAsFlagged:' | |
"n" = "toggleFlag:"; // FIXME: should be 'markAsUnflagged:' | |
}; | |
"*" = { | |
"a" = "selectAll:"; | |
"r" = ( "selectWithFilter:", "#flags.flag = '\\Seen'"); // Selects all mail you've read. | |
"u" = ( "selectWithFilter:", "#flags.flag !=[x] '\\Seen'"); // Selects all unread mail. | |
"p" = ( "selectWithFilter:", "#flags.flag = '\\Flagged'"); // Selects all starred mail. | |
"n" = ( "selectWithFilter:", "#flags.flag !=[x] '\\Flagged'"); // Selects all unstarred mail. | |
}; | |
"'" = { | |
"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. | |
"p" = ( "selectWithFilter:", "#flags.flag = '\\Flagged'"); // Selects all starred mail. | |
"n" = ( "selectWithFilter:", "#flags.flag !=[x] '\\Flagged'"); // Selects all unstarred mail. | |
}; | |
} | |
/* | |
Not included above: | |
x = Select conversation | |
u = Refresh all sources | |
% = Permanently deletes all messages from any folders in the selected conversations | |
L = Displays external images | |
other various keys relevant to Fastmail's unique UI | |
// composer | |
Ctrl-Enter = send message | |
Ctrl-s = save message to Drafts folder | |
Shift-Alt-Ctrl-Backspace = discard message being composed | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment