Adds Gmail-esque keyboard shorcuts to Mail.app. This is still very much a work in progress. Tested with Mail for OS X 10.8.4.
Key | Action |
---|---|
c | Compose new message |
r | Reply |
a | Reply All |
y, e | Archive |
# | Delete |
j | Go to previous message/thread |
k | Go to next message/thread |
/ | Mailbox search |
l | Move to folder (opens dialog) |
s | Flag |
tab, then enter | Send message |
- Grab the latest build from the builds/ directory, and unzip to ~/Library/Mail/Bundles
- Enable Mail.app plugins:
defaults write com.apple.mail EnableBundles -bool true
- Load up the project in Xcode.
- Run the build, this should automatically create ~/Library/Mail/Bundles (but you may need to create this).
- Enable Mail.app plugins:
defaults write com.apple.mail EnableBundles -bool true
- Relaunch Mail.
A lot of this was built with heavy use of of the BindDeleteKeyToArchive project by Ben Lenarts. The Xcode project and interface skeleton were all from that project, and for the most part, renamed. I added the keybinding code.
A lot of the code is also either copied in whole, or modified from the Nostalgy4Mail.app project, by Hajo Nils Krabbenhöft, and subsequently by Jelmer van der Linde. I've added support for ARC (turns out there were quite a few leaks), and prettied-up (imho) the move-to-folder dialog.
Other references: