summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-search.el
blob: 9de1eed58eb8f3c904e94c3279d5a1daa4e430cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;;; mm-search.el --- Emacs text searching  -*- lexical-binding: t; -*-

;;; Classic Emacs text search

(use-package isearch
  :demand t
  :bind ( :map isearch-mode-map
          ("M-/" . isearch-complete)
          :map minibuffer-local-isearch-map
          ("M-/" . isearch-complete-edit))
  :custom
  (search-whitespace-regexp ".*?")
  (isearch-lax-whitespace t)
  (isearch-regexp-lax-whitespace nil)
  (isearch-lazy-count t)
  (lazy-highlight-initial-delay 0)
  (lazy-count-prefix-format "(%s/%s) ")
  (isearch-repeat-on-direction-change t))

(provide 'mm-search)