[MlMt] Key Binding and External Editors

N C nc.varie at gmail.com
Thu Jan 30 12:56:03 EST 2025


ok, so if I add this string
 "^P" = ( "performBundleItemWithUUID:" ,
"2EF4C1A0-8FE2-11E3-BAA8-0800200C9A66");
in
/Users/username/Library/Application
Support/MailMate/Resources/KeyBindings/Custom.plist
and add "Custom" in the keybinding box in mailmate preference
it should open sublime text when using the combination ctrl+shift+p, right?
and it should work when the cursor is in the body of the email.

Because, it does not seems to entirely work from my side.
It does not work when I am in the text/body of the email. But it works (as,
it opens a empty sublime tab) from the message list

Everything works correctly if I use :
defaults write com.freron.MailMate MmBundleCommandLaunchedOnTab
"46C1F8A8-A069-4E54-A427-30D45342674F" (it correctly opens sublime text
when I tab in the body of the email)
or if I use the default shortcut ctrl+shift+o

Any ideas on what I am doing wrong?

On Wed, Jan 29, 2025 at 3:28 PM Benny Kjær Nielsen <mailinglist at freron.com>
wrote:

> On 27 Jan 2025, at 15:22, N C wrote:
>
> > I am using the Sublime Text bundle to edit mail outside of mailmate, but
> I
> > would like to use a custom keybinding for it.
> > It should be possible to achieve this by using the selector
> > "performBundleItemWithUUID:" but I do not get really how to use it. The
> > mentioned UUID refers to what exactly? Does anyone has an example?
>
> The UUID can be found in the command itself:
> https://github.com/mailmate/sublime-text.mmbundle/blob/master/Commands/Edit.mmCommand
>
> The UUIDs are also listed here:
> https://manual.mailmate-app.com/hidden_preferences#external-editor
>
> --
> Benny
> _______________________________________________
> mailmate mailing list
> Unsubscribe: https://lists.freron.com/listinfo/mailmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20250130/e821cc31/attachment.htm>


More information about the mailmate mailing list