From 9a106d8f0c9a91936deb1312d0fec6a26676eb2f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 11 Sep 2021 09:32:05 +0200 Subject: [PATCH] Unconditionally use rgrep when searching for files This does not exclude files from searches as ag does, and is fast enough for what I need. Motivated by https://www.manueluberti.eu//emacs/2021/09/10/rgrep-and-vc-git-grep/. --- init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.el b/init.el index 21ba7d3..9db6d99 100644 --- a/init.el +++ b/init.el @@ -183,7 +183,7 @@ (bind-key "" #'magit-status) (bind-key "" #'db/run-or-hide-eshell) (bind-key "" #'hydra-feature-shortcuts/body) - (bind-key "" (if (executable-find "ag") #'counsel-ag #'rgrep)) + (bind-key "" #'rgrep) (bind-key "" #'hydra-zoom/body) (bind-key "" #'dictcc) (bind-key "" #'bm-toggle) @@ -2221,7 +2221,6 @@ (use-package counsel :ensure t :commands (counsel-org-goto-all - counsel-ag counsel-M-x counsel-find-file counsel-info-lookup-symbol