diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/init.el b/init.el index 4aa5165..fcc560e 100644 --- a/init.el +++ b/init.el | |||
@@ -309,6 +309,9 @@ | |||
309 | (setup imenu | 309 | (setup imenu |
310 | (:option imenu-auto-rescan t)) | 310 | (:option imenu-auto-rescan t)) |
311 | 311 | ||
312 | (setup isearch | ||
313 | (:option search-default-mode t)) | ||
314 | |||
312 | (setup debugger | 315 | (setup debugger |
313 | (:hook visual-line-mode) | 316 | (:hook visual-line-mode) |
314 | (:leader "d" toggle-debug-on-error)) | 317 | (:leader "d" toggle-debug-on-error)) |
@@ -521,22 +524,6 @@ call `zzz-to-char'." | |||
521 | 524 | ||
522 | (:global "M-z" acdw/zzz-up-to-char)) | 525 | (:global "M-z" acdw/zzz-up-to-char)) |
523 | 526 | ||
524 | ;;; Search & Replace | ||
525 | ;; | ||
526 | ;; I use `ctrlf' for search (it is more "sane" than `isearch'), but I also like | ||
527 | ;;`anzu' for `query-replace' (M-%, etc). At some point, I want to make them | ||
528 | ;;better friends (i.e., allow calling `anzu-isearch-query-replace' from within | ||
529 | ;;`ctrlf'), but I have yet to write the necessary functionality. | ||
530 | |||
531 | ;; Now that I'm thinking about it, I could /maybe/ switch to `visual-regexp' | ||
532 | ;; for `query-replace' functionality, since the number of matches is taken care | ||
533 | ;; of in `ctrlf'. .. | ||
534 | |||
535 | (setup (:straight ctrlf) | ||
536 | (:option ctrlf-default-search-style 'fuzzy-regexp | ||
537 | ctrlf-alternate-search-style 'literal) | ||
538 | (ctrlf-mode +1)) | ||
539 | |||
540 | (setup (:straight anzu) | 527 | (setup (:straight anzu) |
541 | (:option anzu-replace-to-string-separator " → " | 528 | (:option anzu-replace-to-string-separator " → " |
542 | anzu-cons-mode-line-p nil) | 529 | anzu-cons-mode-line-p nil) |