Using M-x grep RET
with ripgrep
:
;; ripgrep as grep
(setq grep-command "rg -nS --no-heading "
grep-use-null-device nil)
Then M-g n
or M-g p
for the next/previous match. With (repeat-mode)
consequent next/previous are just n
and p
.
Do you think you need this in emacs 29?