From d718b1f106d721ea393fd4b2af1ef2f08dd548f6 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 30 Aug 2021 22:18:13 -0500 Subject: Add `affe' --- init.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 1948783..acdea0c 100644 --- a/init.el +++ b/init.el @@ -1044,6 +1044,15 @@ like a dumbass." (apheleia--get-formatter-command))) (indent-region (point-min) (point-max)))))) +(setup (:straight-if affe + (executable-find "rg")) + ;; Keys are bound in `acdw/sensible-grep' and `acdw/sensible-find' + (defun affe-orderless-regexp-compiler (input _type) + (setq input (orderless-pattern-compiler input)) + (cons input (lambda (str) (orderless--highlight input str)))) + + (:option affe-regexp-compiler #'affe-orderless-regexp-compiler)) + (setup (:straight async) (autoload 'dired-async-mode "dired-async.el" nil t) (dired-async-mode +1)) -- cgit 1.4.1-21-gabe81