summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/init.el b/init.el index a7c8128..d70aeb0 100644 --- a/init.el +++ b/init.el
@@ -499,6 +499,22 @@ call `zzz-to-char'."
499 499
500 (:global "M-z" acdw/zzz-up-to-char)) 500 (:global "M-z" acdw/zzz-up-to-char))
501 501
502;;; Search & Replace
503;;
504;; I use `ctrlf' for search (it is more "sane" than `isearch'), but I also like
505;;`anzu' for `query-replace' (M-%, etc). At some point, I want to make them
506;;better friends (i.e., allow calling `anzu-isearch-query-replace' from within
507;;`ctrlf'), but I have yet to write the necessary functionality.
508
509;; Now that I'm thinking about it, I could /maybe/ switch to `visual-regexp'
510;; for `query-replace' functionality, since the number of matches is taken care
511;; of in `ctrlf'. ..
512
513(setup (:straight ctrlf)
514 (:option ctrlf-default-search-style 'fuzzy-regexp
515 ctrlf-alternate-search-style 'literal)
516 (ctrlf-mode +1))
517
502(setup (:straight anzu) 518(setup (:straight anzu)
503 (:option anzu-replace-to-string-separator " → " 519 (:option anzu-replace-to-string-separator " → "
504 anzu-cons-mode-line-p nil) 520 anzu-cons-mode-line-p nil)