diff --git a/emacs/.emacs.d/config/init-built-ins.el b/emacs/.emacs.d/config/init-built-ins.el index 9585f6b..c822fa1 100644 --- a/emacs/.emacs.d/config/init-built-ins.el +++ b/emacs/.emacs.d/config/init-built-ins.el @@ -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)