From 6dd9dfcc0b15a7dc01952915185f5a04a4bad6cc Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 30 May 2023 11:24:21 +0200 Subject: [PATCH] try ripgrep --- lisp/init-smarter-than-emacs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/init-smarter-than-emacs.el b/lisp/init-smarter-than-emacs.el index 58eda61..625cfd7 100644 --- a/lisp/init-smarter-than-emacs.el +++ b/lisp/init-smarter-than-emacs.el @@ -168,10 +168,10 @@ a remote file anytime and from everywhere I am by just entering :" :custom ;; FIXME: does not ignore .git etc, try ripgrep or ag (consult-grep-args "grep --null --line-buffered --color=never --ignore-case\ - --with-filename --line-number -I -r -A1 -B1") + --with-filename --line-number -I -r -A1 -B1 --exclude-from=.gitignore") :config - (defalias 'egrep 'consult-grep) + (defalias 'egrep 'consult-ripgrep) (when (fboundp 'persp-new) (consult-customize consult--source-buffer :hidden t :default nil)