Skip to content

Commit

Permalink
feat(tools): restore affe
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 24, 2023
1 parent ddb7267 commit 693de26
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/me-tools.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@

;;; Code:

(use-package affe
:straight t
:init
(+map! :infix "s"
"G" #'affe-grep
"F" #'affe-find)
:config
(with-eval-after-load 'orderless
(defun +affe-orderless-regexp-compiler (input &rest _)
(setq input (orderless-pattern-compiler input))
(cons input (apply-partially #'orderless--highlight input)))
(setq affe-regexp-compiler #'+affe-orderless-regexp-compiler)))

(use-package ssh-deploy
:straight t
:hook ((after-save . ssh-deploy-after-save)
Expand Down

0 comments on commit 693de26

Please sign in to comment.