This has been replaced by Macmoji's Alfred support
In case you're lazy, simply download a pre-built version from here.
I recently stumbled upon Macmoji which provides a .plist
file that you can use to import text replacement snippets into macOS's settings that give you Slack-style emoji usage across your Mac.
Since I'm not a big fan of the default text replacement system and use Alfred's Snippets and Text Expansion feature instead.
This Ruby script allows to convert a plist like the one provided on Macmoji to be converted to a .alfredsnippets
file which can then be imported into Alfred 🚀
To always use the latest and greatest .plist
from simply run this command:
ruby plist-to-alfredsnippets.rb -p https://raw.githubusercontent.com/warpling/Macmoji/master/emoji%20substitutions.plist
Alternatively, you can use the -p
option to specify any location for the .plist
you want:
ruby plist-to-alfredsnippets.rb -u samples/emoji\ substitutions.plist
This script currently does no error handling at all and only handles only my specific use case well. Feel free to improve it, PRs welcome!