branch: externals/denote-search
commit bd49c5ea7776e6a86e1b5371379d6ba49e9a6ff1
Author: Lucas Quintana <lm...@protonmail.com>
Commit: Lucas Quintana <lm...@protonmail.com>

    Bind recent-current-error by default
---
 README.org       | 5 +++--
 denote-search.el | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.org b/README.org
index 32ed713f4b..6e5a3a1eb0 100644
--- a/README.org
+++ b/README.org
@@ -222,8 +222,9 @@ can give you a quick overlook of all the files that matched 
the
 search.  If there are many, you can proceed to filter the output 
 (see [[*filtering the search results][filtering the search results]]).
 
-Press ~o~ (~delete-other-windows~) to close other windows displayed in
-the frame.
+Press ~l~ (~recenter-current-error~) to recenter current search focus
+shown in the other window.  Press ~o~ (~delete-other-windows~) to
+close other windows displayed in the frame.
 
 * Filtering the search results
 
diff --git a/denote-search.el b/denote-search.el
index daf0abd9b6..c24bf6d412 100644
--- a/denote-search.el
+++ b/denote-search.el
@@ -440,6 +440,7 @@ means of e.g. `denote-search-exclude-files')."
   "v" #'outline-cycle
   "x" #'denote-search-exclude-files
   "i" #'denote-search-only-include-files
+  "l" #'recenter-current-error
   "X" #'denote-search-exclude-files-with-keywords
   "I" #'denote-search-only-include-files-with-keywords
   "G" #'denote-search-clean-all-filters)

Reply via email to