[MlMt] multiple actions for single keybinding

Benny Kjær Nielsen mailinglist at freron.com
Fri Sep 13 10:09:43 EDT 2013


On 13 Sep 2013, at 15:50, Zvi Biener wrote:

> Since we are on the subject of keybinding: is it possible to bind 
> multiple actions to a single key? For example, let "/" be 
> moveToMailbox: X and then mailboxSearch: .
>
> I've tried some grammar options, but trial and error didn't crack it, 
> if it is even possible.

Yes, you can define an array of key bindings like this:

	"/" = ( "goToMailbox:", "archive", "mailboxSearch:" );

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20130913/3f04ed4d/attachment.html>


More information about the mailmate mailing list