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/.
This commit is contained in:
Daniel - 2021-09-11 09:32:05 +02:00
parent 16d5dd4847
commit 9a106d8f0c
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 1 additions and 2 deletions

View File

@ -183,7 +183,7 @@
(bind-key "<f10>" #'magit-status) (bind-key "<f10>" #'magit-status)
(bind-key "<f1>" #'db/run-or-hide-eshell) (bind-key "<f1>" #'db/run-or-hide-eshell)
(bind-key "<f2>" #'hydra-feature-shortcuts/body) (bind-key "<f2>" #'hydra-feature-shortcuts/body)
(bind-key "<f5>" (if (executable-find "ag") #'counsel-ag #'rgrep)) (bind-key "<f5>" #'rgrep)
(bind-key "<f6>" #'hydra-zoom/body) (bind-key "<f6>" #'hydra-zoom/body)
(bind-key "<f7>" #'dictcc) (bind-key "<f7>" #'dictcc)
(bind-key "<f8>" #'bm-toggle) (bind-key "<f8>" #'bm-toggle)
@ -2221,7 +2221,6 @@
(use-package counsel (use-package counsel
:ensure t :ensure t
:commands (counsel-org-goto-all :commands (counsel-org-goto-all
counsel-ag
counsel-M-x counsel-M-x
counsel-find-file counsel-find-file
counsel-info-lookup-symbol counsel-info-lookup-symbol