branch: externals/ergoemacs-mode
commit 500a2eb7c4dd704f6bd69c115f6817a48440f719
Author: Matthew Fidler <514778+mattfid...@users.noreply.github.com>
Commit: Matthew Fidler <514778+mattfid...@users.noreply.github.com>

    Possibly Fix #505 search
---
 ergoemacs-themes.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index 8aad1ee..c1e7060 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -481,7 +481,9 @@ These keys do not depend on the layout."
   (put 'isearch-forward
        :advertised-binding (ergoemacs-translate--event-layout
                             (vconcat (listify-key-sequence (kbd "M-;")))))
-  (ergoemacs-define-key keymap (kbd "M-:") 'isearch-backward))
+  (ergoemacs-define-key keymap (kbd "M-:") 'isearch-backward)
+  (define-key minibuffer-local-isearch-map [remap isearch-forward] 
'isearch-forward-exit-minibuffer)
+  (define-key minibuffer-local-isearch-map [remap isearch-backward] 
'isearch-reverse-exit-minibuffer))
 
 (defun ergoemacs-set-search-reduction (keymap)
   "Search and Replace with KEYMAP."

Reply via email to