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/.
master
Daniel Borchmann 11 months ago
parent 16d5dd4847
commit 9a106d8f0c
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 3
      init.el

@ -183,7 +183,7 @@
(bind-key "<f10>" #'magit-status)
(bind-key "<f1>" #'db/run-or-hide-eshell)
(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 "<f7>" #'dictcc)
(bind-key "<f8>" #'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

Loading…
Cancel
Save