My fault, I thought this was a common enough term. Is similar to what you linked. In macOS you can configure this kind of text substitutions like that if you type “ty” and press space, the OS substitutes what you typed by “thank you”. From System preferences > keyboard > text, you can add as much of these text substitutions as you like.
For xOrg we have software like espanso, which allows the simple substitution that macOS provides and also many other cool features that are more complex. I have failed to find a way to do this in Wayland.
I hope to have made myself clearer, and sorry for not being more explicit in my initial post!
Unfortunately, this Compose Key approach won’t work for dynamic content like entering the current date. I’d love to see an ibus-based mechanism with support for dynamic content. I heard that the ibus-libpinyin input method has this ability, but I don’t wish to switch to a different language to attain this goal. In the mean time, to insert dynamic content, I create bash scripts that generate the content and pipe them to the clipboard using xclip -sel c. I execute such bash scripts using Gnome’s Alt+F2 dialog, which is made more useable with the gnome-shell-extension-historymanager-prefix-search extension.
Wow, great answer, didn’t think about using the compose key for this. And even more, it would be kind of easy to make a GUI interface to set up this kind of shortcuts for non technical users.
I think it would be awesome if Fedora got up to speed with macOS in this feature, but I also think that this should be doable tinkering with input methods as you said. If anyone knows of a project that is experimenting in this direction, I would love to know about it.
Text substitution in macOS goes further in that it doesn’t need you to know about the compose key and that it even autocorrects common typos, and power users coming from those lands would greatly appreciate a similarly easy to use and configure solution.