emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2be55ad: Add more isearch-related bindings to ns-win.el


From: Lars Ingebrigtsen
Subject: master 2be55ad: Add more isearch-related bindings to ns-win.el
Date: Fri, 22 Jan 2021 13:18:52 -0500 (EST)

branch: master
commit 2be55ad66910730d81f727d3bc4a25d196422d04
Author: Keith David Bershatsky <esq@lawlist.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Add more isearch-related bindings to ns-win.el
    
    * lisp/term/ns-win.el (minibuffer-local-isearch-map): Add more
    bindings to mirror bindings in isearch.el (bug#15667).
---
 lisp/term/ns-win.el | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 5f4dd9e..94e9d5c 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -120,6 +120,15 @@ The properties returned may include `top', `left', 
`height', and `width'."
 (define-key global-map [?\s-d] 'isearch-repeat-backward)
 (define-key global-map [?\s-e] 'isearch-yank-kill)
 (define-key global-map [?\s-f] 'isearch-forward)
+(define-key esc-map [?\s-f] 'isearch-forward-regexp)
+(define-key minibuffer-local-isearch-map [?\s-f]
+  'isearch-forward-exit-minibuffer)
+(define-key isearch-mode-map [?\s-f] 'isearch-repeat-forward)
+(define-key global-map [?\s-F] 'isearch-backward)
+(define-key esc-map [?\s-F] 'isearch-backward-regexp)
+(define-key minibuffer-local-isearch-map [?\s-F]
+  'isearch-reverse-exit-minibuffer)
+(define-key isearch-mode-map [?\s-F] 'isearch-repeat-backward)
 (define-key global-map [?\s-g] 'isearch-repeat-forward)
 (define-key global-map [?\s-h] 'ns-do-hide-emacs)
 (define-key global-map [?\s-H] 'ns-do-hide-others)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]