Skip to content

Instantly share code, notes, and snippets.

@avorio
Created September 21, 2015 12:40
Show Gist options
  • Save avorio/491e42ef4310527d753b to your computer and use it in GitHub Desktop.
Save avorio/491e42ef4310527d753b to your computer and use it in GitHub Desktop.
Display better Subjects in MailMate
# See http://manual.mailmate-app.com/customization#messagesoutline
# Save this file as ~/Library/Application Support/MailMate/Resources/MmMessagesOutlineView/outlineColumns.plist
{
columns =
{
subject =
{
title = "Subject";
sortKey = "subject.blob,subject.body,subject.prefix";
formatting =
{
formatString = "${subject.prefix:+${subject.prefix} }${subject.body}";
placeholderString = "(No Subject)";
doubleClick =
{
titleFormatting = { prefixString = "Subject is "; formatString = "“${subject.body}”"; separator = " or "; };
queryFormatting = { formatString = "subject.body = '${subject.body}'"; separator = " or "; escapeSingleQuotes = 1; };
};
};
minimumWidth = 10;
relatedSearches =
(
{
titleFormatting = { formatString = "Related to “${subject.body}”"; separator = " or "; };
queryFormatting = { formatString = "subject.body = '${subject.body}'"; separator = " or "; escapeSingleQuotes = 1; };
// keyEquivalent = "s";
},
{
titleFormatting = { formatString = "Related to [${subject.blob}]"; separator = " or "; };
queryFormatting = { formatString = "subject.blob = '${subject.blob}'"; separator = " or "; escapeSingleQuotes = 1; };
}
);
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment