diff options
Diffstat (limited to '.config/emacs/modules/mm-search.el')
-rw-r--r-- | .config/emacs/modules/mm-search.el | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/emacs/modules/mm-search.el b/.config/emacs/modules/mm-search.el new file mode 100644 index 0000000..9de1eed --- /dev/null +++ b/.config/emacs/modules/mm-search.el @@ -0,0 +1,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)
\ No newline at end of file |