From 17043258090a6b63516378e4bf5a5e2ba351870c Mon Sep 17 00:00:00 2001 From: JSDurand Date: Mon, 26 Dec 2022 20:44:41 +0800 Subject: basic: use ripgrep for grep * basic.el (xref-search-program): Use ripgrep for grep. This is supposed to be faster than the built-in grep on macOS. --- basic.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/basic.el b/basic.el index 6e4dc15..70505dc 100644 --- a/basic.el +++ b/basic.el @@ -613,6 +613,10 @@ buffers that I do not want to kill automatically.") (advice-add #'save-buffers-kill-terminal :around #'durand-confirm-execute) +;;; Use ripgrep for xref + +(setq xref-search-program 'ripgrep) + ;;; Package management ;;;###autoload -- cgit v1.2.3-18-g5258