@ton I was checking out Alfred and didn't see how to do this. Is it in Power Pack?
@toddgrotenhuis I do have Power Pack, yes, but I don’t know if it is a Power Pack feature or not. As https://www.alfredapp.com/help/features/snippets/#expansion describes, if you look in Alfred preferences / Features, there’s a section called ‘Snippets’. There you can define your snippets and keywords, and activate the auto-expansion tickbox (it’s off by default).