diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-30 19:52:45 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-30 19:52:45 -0400 |
commit | 36f340b6596ae8cfcf13744654ff4ee253ec7649 (patch) | |
tree | 27c411eb21925c1068750ab85ec9543fa780967e | |
parent | Use `delight` to hide modes from modeline (diff) | |
download | mmosmacs-36f340b6596ae8cfcf13744654ff4ee253ec7649.tar.gz mmosmacs-36f340b6596ae8cfcf13744654ff4ee253ec7649.tar.bz2 mmosmacs-36f340b6596ae8cfcf13744654ff4ee253ec7649.zip |
Improve default `isearch` functionality
-rw-r--r-- | init.el | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -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 | ;; --------------------------------------------------------------------- |