Coder Social home page Coder Social logo

gmailinator's Introduction

GMailinator

Adds Gmail-esque keyboard shorcuts to Mail.app. This is still very much a work in progress.

Tested with Mail for macOS Big Sur.

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 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 View raw message dialog
z Undo

How to install

  1. Grab the latest build from Github releases
  2. Unzip to ~/Library/Mail/Bundles
  3. Enable Mail.app plugins: defaults write com.apple.mail EnableBundles -bool true

How to install (Mojave onwards)

  1. Build the project or download it from Github releases
  2. In the Finder, open /tmp/Gmailinator and ~/Library/Mail/Bundles
  3. Copy the GMailinator.mailbundle folder from /tmp/Gmailinator to ~/Library/Mail/Bundles
  4. In mail, open Preferences -> General -> Manage Plug-ins, and enable Gmailinator.
  5. You will be prompted to restart Mail

Allow usage in Big Sur

  1. Codesign the bundle
codesign -s "<Replace with the identity>" -v -f GMailinator.mailbundle/

Alternatively, you can enable "Automatically manage signing" in Xcode:

  • Under the "Signing and Capabilities" tab (find this by clicking GMailinator root in sidebar)
  • Check "Automatically manage signing"
  • Change "Team" dropdown. You'll need to do some setup if you don't have a team
  • Now mail bundle will automatically be signed on Xcode build
  1. Allow in system policy
spctl --add ~/Library/Mail/Bundles/GMailinator.mailbundle

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:

gmailinator's People

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.