aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-30 19:52:45 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-30 19:52:45 -0400
commit36f340b6596ae8cfcf13744654ff4ee253ec7649 (patch)
tree27c411eb21925c1068750ab85ec9543fa780967e
parentUse `delight` to hide modes from modeline (diff)
downloadmmosmacs-36f340b6596ae8cfcf13744654ff4ee253ec7649.tar.gz
mmosmacs-36f340b6596ae8cfcf13744654ff4ee253ec7649.tar.bz2
mmosmacs-36f340b6596ae8cfcf13744654ff4ee253ec7649.zip
Improve default `isearch` functionality
-rw-r--r--init.el21
1 files changed, 19 insertions, 2 deletions
diff --git a/init.el b/init.el
index 846d4ce..af221ef 100644
--- a/init.el
+++ b/init.el
@@ -273,8 +273,8 @@
273 273
274 274
275;; --------------------------------------------------------------------- 275;; ---------------------------------------------------------------------
276;;; Completion & Correction 276;;; Completion, Correction, & Search
277;; ------------------------ 277;; ---------------------------------
278;; Completion and correction are the main source of my typing efficiency 278;; Completion and correction are the main source of my typing efficiency
279;; if I'm being honest. 279;; if I'm being honest.
280;; --------------------------------------------------------------------- 280;; ---------------------------------------------------------------------
@@ -355,6 +355,23 @@
355 completion-category-overrides '((file (styles partial-completion))))) 355 completion-category-overrides '((file (styles partial-completion)))))
356 356
357 357
358;; ---------------------------------
359;; Search
360;; ------
361;; Find stuff.
362;; ---------------------------------
363
364(use-package isearch
365 :straight (:type built-in)
366 :config
367 (setq isearch-lazy-count t
368 lazy-count-prefix-format nil
369 lazy-count-suffix-format " (%s/%S)"
370 search-whitespace-regexp ".*"
371 isearch-lax-whitespace t
372 isearch-regexp-lax-whitespace t))
373
374
358 375
359 376
360;; --------------------------------------------------------------------- 377;; ---------------------------------------------------------------------