Use rg for grep, find-grep and find-grep-dired
This commit is contained in:
parent
813d5f9e17
commit
951024ed40
@ -70,4 +70,12 @@
|
||||
:general
|
||||
([remap dabbrev-expand] #'hippie-expand))
|
||||
|
||||
(use-package grep
|
||||
:straight (:type built-in)
|
||||
:if (executable-find "rg")
|
||||
:config
|
||||
(setq grep-program "rg")
|
||||
:custom
|
||||
(grep-command "rg --color=always --with-filename --line-number --null -e "))
|
||||
|
||||
(provide 'init-built-ins)
|
||||
|
Loading…
Reference in New Issue
Block a user