AutoKey https://github.com/autokey/autokey for Linux is pretty similar, though perhaps not as popular and well documented as AutoHotkey. It's simple enough that anyone can use it to make text-expansion macros, but it becomes more powerful if you're proficient with Python.