From bc3ff0166305e2510876c6fb9e5cbc63ce19935a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 20 Feb 2021 00:41:24 -0600 Subject: Search by regexp defaultly --- config.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.org b/config.org index 180d009..0f40e1f 100644 --- a/config.org +++ b/config.org @@ -1714,6 +1714,17 @@ look like. =anzu= does /most/ of this, except the wrapping around part -- the two packages to play nice together. Until then, I'll just use =anzu= and =isearch=, which is honestly a pretty good search package. +*** Isearch + +I want to search by regexp by default. + +#+begin_src emacs-lisp :noweb-ref bindings + (define-key acdw/map (kbd "C-s") #'isearch-forward-regexp) + (define-key acdw/map (kbd "C-r") #'isearch-backward-regexp) + (define-key acdw/map (kbd "C-M-s") #'isearch-forward) + (define-key acdw/map (kbd "C-M-r") #'isearch-backward) +#+end_src + *** Anzu setup #+begin_src emacs-lisp :noweb-ref packages -- cgit 1.4.1-21-gabe81