[MlMt] Conditional or context-sensitive keybindings

Benny Kjær Nielsen mailinglist at freron.com
Tue Jul 4 05:58:27 EDT 2017


On 3 Jul 2017, at 7:10, Simon Kaplan wrote:

> Is it possible to set up a keybinding so its behaviour changes 
> depending on the folder you’re in?  For example, I’d like to 
> define ‘a’ to archive: if I’m in the Inbox, but move the 
> messages to a different folder if I’m in the SaneNews, SaneLater or 
> SaneBulk folders.

Only be creating a bundle command which handles this behavior in a 
script. This could be given the current location of the message and 
based on that it could generate an action to move the message to the 
desired location.

-- 
Benny


More information about the mailmate mailing list