From 0dc03e8fd4c71e295ba47c19d213142e0836323b Mon Sep 17 00:00:00 2001 From: David Dworken Date: Tue, 14 Feb 2023 17:11:52 -0800 Subject: [PATCH] Document the key bindings --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fd3086..69d5c9e 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,20 @@ To update `hishtory` to the latest version, just run `hishtory update` to secure ### Advanced Features +
+TUI key bindings +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 | + +
+
Changing the displayed columns @@ -70,7 +84,6 @@ You can customize the columns that are displayed via `hishtory config-set displa ``` hishtory config-set displayed-columns CWD Command ``` -