mirror of
https://github.com/paul-nameless/tg
synced 2025-02-18 19:48:24 +00:00
Update README with sticker info, telegram chat and key bindings (#113)
* Update README with sticker info, telegram chat and key bindings * Update screenshot * Rename README.md -> readme.md
This commit is contained in:
parent
73d3e535bb
commit
a053fdefec
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
# tg
|
# tg
|
||||||
|
|
||||||
|
[](https://t.me/tg_term)
|
||||||
|
|
||||||
Telegram terminal client.
|
Telegram terminal client.
|
||||||
|
|
||||||

|

|
||||||
|
@ -69,6 +71,10 @@ yay -S telegram-tg-git
|
||||||
```
|
```
|
||||||
and then set in config `TDLIB_PATH`
|
and then set in config `TDLIB_PATH`
|
||||||
- `urlview` to choose urls when there is multiple in message, use `URL_VIEW` in config file to use another app (it should accept urls in stdin)
|
- `urlview` to choose urls when there is multiple in message, use `URL_VIEW` in config file to use another app (it should accept urls in stdin)
|
||||||
|
- to open `stickers` and `animated` ones (thumbnail preview) you need to set in mailcap appropriate handler and have app which will open `webp` file:
|
||||||
|
```ini
|
||||||
|
image/webp; mpv %s
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
@ -214,7 +220,8 @@ For navigation arrow keys also can be used.
|
||||||
```
|
```
|
||||||
if text, open in `less` (to view multiline msgs)
|
if text, open in `less` (to view multiline msgs)
|
||||||
- `e`: edit current msg
|
- `e`: edit current msg
|
||||||
- `<space>`: space can be used to select multiple msgs for deletion or forwarding
|
- `<space>`: select msg and jump one msg down (use for deletion or forwarding)
|
||||||
|
- `<ctrl+space>`: same as space but jumps one msg up
|
||||||
- `y`: yank (copy) selected msgs with <space> to internal buffer (for forwarding) and copy current msg text or path to file to clipboard
|
- `y`: yank (copy) selected msgs with <space> to internal buffer (for forwarding) and copy current msg text or path to file to clipboard
|
||||||
- `p`: forward (paste) yanked (copied) msgs to current chat
|
- `p`: forward (paste) yanked (copied) msgs to current chat
|
||||||
- `dd`: delete msg for everybody (multiple messages will be deleted if selected)
|
- `dd`: delete msg for everybody (multiple messages will be deleted if selected)
|
Binary file not shown.
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 252 KiB |
Loading…
Add table
Reference in a new issue