Hitting tab after a ":" or ":partialword" should cycle through emoji from the supported list.
I started on this in weemoji but didn't have any success with getting tab completion working for some reason. It could use a second set of eyes if it makes sense there, or I wouldn't mind moving it to here.
:eyes:
It would be nice if this feature took the way you can add reactions into account as well, so it works when you start to type a reaction, not only when you type a standalone emoji.
Examples of typing a reaction:
+:smile:
2+:smile:
-:smile:
2-:smile
This script does emoji completition, but not all slack aliases are supported I suspect, but I guess could be added: https://weechat.org/files/scripts/pending/emoji.lua
This has been mostly added in 1.0-RC1. One needs to symlink/copy weemoji.json into ~/.weechat, and append |%(emoji) to weechat.completion.default_template, I believe.
I can confirm that the above instructions worked for me.
Instructions for enabling this has now been added in the readme with PR #437, so I'm closing this. My request for it to work for reactions still stands though, but I think that's more difficult to solve.
Just for others who may run into this - a /python reload was necessary for me after following instructions in the README to get weechat to pick up on the tab completions.
@trygveaa I think that /python reload line that @wohali suggested should go in the docs, to avoid confusion on why isn't it working when following the docs
@skrat: Done.
Most helpful comment
Just for others who may run into this - a
/python reloadwas necessary for me after following instructions in the README to get weechat to pick up on the tab completions.