From b4f1c776e3a6cda2f51dd71e55f72de6fd3c1dcf Mon Sep 17 00:00:00 2001 From: Laurence Warne Date: Mon, 19 Feb 2024 20:59:04 +0000 Subject: [PATCH] Add show last search in all finito buffers --- README.md | 2 +- finito.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d527264..f20afee 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ Most of the features can be navigated through via the transient prefix command ` | `w` | Copy the title of the book at point to the kill ring | | `g` | Refresh the buffer | | `M` | Toggle display of minimal mode | +| `l` | Edit the last search | | `C-m` | Open the "My Books" collection | | `C-r` | Open the "Currently Reading" collection | @@ -114,7 +115,6 @@ Most of the features can be navigated through via the transient prefix command ` | Key | Action | |-----|-------------------------------------------------------| -| `l` | Edit the last search | | `d` | Toggle display of descriptions for the current buffer | (in addition to all the [base bindings](#bindings-available-in-all-finito-view-buffers)) diff --git a/finito.el b/finito.el index 80f26d2..c1f8af2 100644 --- a/finito.el +++ b/finito.el @@ -470,6 +470,7 @@ request is successful" (define-key map "d" #'finito-toggle-show-descriptions) (define-key map "M" #'finito-toggle-minimal) (define-key map "g" #'revert-buffer) + (define-key map "l" #'finito-replay-search) (define-key map (kbd "C-m") #'finito-open-my-books-collection) (define-key map (kbd "C-r") #'finito-open-currently-reading-collection) map)) @@ -486,7 +487,6 @@ The following commands are available in this mode: (defvar finito-search-view-mode-map (let ((map (make-sparse-keymap))) (suppress-keymap map t) - (define-key map "l" #'finito-replay-search) map)) (define-derived-mode finito-search-view-mode