From e2e9d5b2a1193634882f29b52e56cba10ab84acc Mon Sep 17 00:00:00 2001 From: Dominic Z Date: Wed, 11 Sep 2019 16:31:55 +0200 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 29e7f0d..ce5833b 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,24 @@ You can read more about how to get them [here](https://core.telegram.org/api/obt Once you obtained your own api key and hash, you need to set them as your environment variables `TTTC_API_ID` and `TTTC_API_HASH`, respectively. -The client can be run with `python3 tttc.py`. \ No newline at end of file +The client can be run with `python3 tttc.py`. + +## Keybindings +Currently, there is no way of changing the keybindings in a config. This is subject to change in a future update. + +The default key bindings are + +Key | Function +--|-- +i| Enter insert mode (to compose a message) +y, Return | Send message +Esc | Cancel, Exit current mode +c/C | Previous/Next Dialog +E | Toggle emoji ASCII display +`n` e | Edit message `n` (ESC to open prompt to save changes) +`n` r | Reply to message `n` (submit draft) +`n` d | Delete message `n` +/ | enter search mode +n/N | Previous/Next search result +Q | exit TTTC +q `r` | Record macro into register `r`