Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 2.52 KB

README.md

File metadata and controls

66 lines (52 loc) · 2.52 KB

GMailinator

Forked from jgavris/GMailinator to restore the function of "v" key to take over the function of "l" for moving messages.

You need to compile from source.

Adds Gmail-esque keyboard shorcuts to Mail.app. This is still very much a work in progress. Tested with Mail for OS X Sierra.

Supported Shortcuts

Key Action
# Delete
/ Mailbox search
! Toggle message as Junk
a Reply All
c Compose new message
e, y Archive
f Forward message
G Go to the last message
g Go to the first message
j Go to next message/thread
k Go to previous message/thread
* l Removed. Move to folder (opens dialog)
o Open selected message
R Get new mail (Refresh)
r Reply
s Flag
u Mark message as read
U Mark message as unread
v Move to folder (opens diaglog)
z Undo

How to install

  1. Grab the latest build from the builds/ directory, and unzip to ~/Library/Mail/Bundles
  2. Enable Mail.app plugins: defaults write com.apple.mail EnableBundles -bool true

How to build

  1. Load up the project in Xcode.
  2. Run the build, this should automatically create ~/Library/Mail/Bundles (but you may need to create this).
  3. Enable Mail.app plugins: defaults write com.apple.mail EnableBundles -bool true
  4. Relaunch Mail.

Credits

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: