aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-02-01 15:19:29 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2020-02-01 15:30:32 +0100
commitf3f416edc18c38b39257bf1f87848df1294f4b3f (patch)
tree48676e1e3653dd8a094fa32812f2c1a4ee33b996 /README.md
parent4f9863d992e549ceff38c26d08e435f14bbfc597 (diff)
downloadwee-slack-f3f416edc18c38b39257bf1f87848df1294f4b3f.tar.gz
Render emojis as emoji characters
Fixes #465
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 20 insertions, 8 deletions
diff --git a/README.md b/README.md
index c3df4e0..01fd8a6 100644
--- a/README.md
+++ b/README.md
@@ -202,24 +202,36 @@ Label a thread with a memorable name. The above command will open a channel call
```
_Note: labels do not persist once a thread buffer is closed_
-### Emoji tab completions
+### Emoji characters and tab completions of emoji names
-To enable tab completion of emojis, copy or symlink the `weemoji.json` file to
-your weechat config directory (e.g. `~/.weechat`). If doing this after starting
-wee-slack, you will have to reload it by running `/python reload slack`. Then
-append `|%(emoji)` to the `weechat.completion.default_template` config option,
-e.g. like this:
+To enable rendering of emoji characters and tab completion of emoji names, copy
+or symlink the
+[`weemoji.json`](https://github.com/wee-slack/wee-slack/blob/master/weemoji.json)
+file to your weechat config directory (e.g. `~/.weechat`). If doing this after
+starting wee-slack, you will have to reload it by running `/python reload
+slack`. Then append `|%(emoji)` to the `weechat.completion.default_template`
+config option, e.g. like this:
```
/set weechat.completion.default_template "%(nicks)|%(irc_channels)|%(emoji)"
```
+Emoji names can be completed by typing colon and the start of the emoji name
+and pressing tab.
+
### User group tab completions
-To enable tab completions for usergroups append `|%(usergroups)`
+
+To enable tab completions for usergroups append `|%(usergroups)` to the
+`weechat.completion.default_template` config option, e.g. like this:
+
```
/set weechat.completion.default_template "%(nicks)|%(irc_channels)|%(usergroups)"
```
-The usergroup will appear in the same formats as nicks like the following `@marketing` where marketing is the handle
+
+If you already added `%(emoji)` to this config option, like described in the
+last section, make sure not to overwrite that. The usergroup will appear in the
+same format as nicks, like the following: `@marketing`, where marketing is the
+usergroup handle.
### Cursor and mouse mode