diff options
author | Case Duckworth | 2021-02-20 00:41:24 -0600 |
---|---|---|
committer | Case Duckworth | 2021-02-20 00:41:24 -0600 |
commit | bc3ff0166305e2510876c6fb9e5cbc63ce19935a (patch) | |
tree | b034eaaab1e8733fdc2507a7bcb94a64e48ff722 | |
parent | Replace GCMH with a dumber thing that might work as well (diff) | |
download | emacs-bc3ff0166305e2510876c6fb9e5cbc63ce19935a.tar.gz emacs-bc3ff0166305e2510876c6fb9e5cbc63ce19935a.zip |
Search by regexp defaultly
-rw-r--r-- | config.org | 11 |
1 files changed, 11 insertions, 0 deletions
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 -- | |||
1714 | the two packages to play nice together. Until then, I'll just use | 1714 | the two packages to play nice together. Until then, I'll just use |
1715 | =anzu= and =isearch=, which is honestly a pretty good search package. | 1715 | =anzu= and =isearch=, which is honestly a pretty good search package. |
1716 | 1716 | ||
1717 | *** Isearch | ||
1718 | |||
1719 | I want to search by regexp by default. | ||
1720 | |||
1721 | #+begin_src emacs-lisp :noweb-ref bindings | ||
1722 | (define-key acdw/map (kbd "C-s") #'isearch-forward-regexp) | ||
1723 | (define-key acdw/map (kbd "C-r") #'isearch-backward-regexp) | ||
1724 | (define-key acdw/map (kbd "C-M-s") #'isearch-forward) | ||
1725 | (define-key acdw/map (kbd "C-M-r") #'isearch-backward) | ||
1726 | #+end_src | ||
1727 | |||
1717 | *** Anzu setup | 1728 | *** Anzu setup |
1718 | 1729 | ||
1719 | #+begin_src emacs-lisp :noweb-ref packages | 1730 | #+begin_src emacs-lisp :noweb-ref packages |