Document the key bindings

This commit is contained in:
David Dworken 2023-02-14 17:11:52 -08:00
parent 75d5637bec
commit 0dc03e8fd4
No known key found for this signature in database

View File

@ -62,6 +62,20 @@ To update `hishtory` to the latest version, just run `hishtory update` to secure
### Advanced Features ### Advanced Features
<details>
<summary>TUI key bindings</summary>
The TUI (opened via `Control+R`) supports a number of key bindings:
| Key | Result |
|--------------------|----------------------------------------------------------------|
| Left/Right | Scroll the search query left/right |
| Up/Down | Scroll the table up/down |
| Page Up/Down | Scroll the table up/down by one page |
| Shift + Left/Right | Scroll the table left/right |
| Control+K | Delete the selected command |
</details>
<details> <details>
<summary>Changing the displayed columns</summary> <summary>Changing the displayed columns</summary>
@ -70,7 +84,6 @@ You can customize the columns that are displayed via `hishtory config-set displa
``` ```
hishtory config-set displayed-columns CWD Command hishtory config-set displayed-columns CWD Command
``` ```
</details> </details>
<details> <details>