From f68c3de3b7bd15a5f16ca09352277d297574787e Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sat, 4 Apr 2026 04:00:37 +0100 Subject: feat: add support for deleting all matching commands via keybindings (#3375) --- docs/docs/configuration/advanced-key-binding.md | 1 + docs/docs/configuration/key-binding.md | 2 ++ 2 files changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/docs/configuration/advanced-key-binding.md b/docs/docs/configuration/advanced-key-binding.md index 7f73b5d6..21cf35c6 100644 --- a/docs/docs/configuration/advanced-key-binding.md +++ b/docs/docs/configuration/advanced-key-binding.md @@ -201,6 +201,7 @@ Note: `select-next` and `select-previous` respect the `invert` setting. When `in | `return-query` | Close the TUI and return the current search query | | `copy` | Copy the selected entry to the clipboard | | `delete` | Delete the selected entry from history | +| `delete-all` | Delete **all** history entries matching the selected command text | | `exit` | Exit the TUI (behavior depends on the `exit_mode` setting) | | `redraw` | Redraw the screen | | `cycle-filter-mode` | Cycle through filter modes (global, host, session, directory) | diff --git a/docs/docs/configuration/key-binding.md b/docs/docs/configuration/key-binding.md index 942a2400..47f24cd4 100644 --- a/docs/docs/configuration/key-binding.md +++ b/docs/docs/configuration/key-binding.md @@ -227,6 +227,8 @@ $env.config = ( | page up | Scroll search results one page up | | ↓ (with no entry selected) | Return original or return query depending on [settings](config.md#exit_mode) | | ↓ | Select the next item on the list | +| ctrl + a, d | Delete the selected history entry | +| ctrl + a, D | Delete **all** history entries matching the selected command | | ctrl + a, c | Switch to the context of the currently selected command / return to default | -- cgit v1.3.1