1
How can I save the result of a ripgrep search
(alien.top)
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Saving and loading the
*rg*
buffer works for me as the saved file's first line is-*- mode: rg; default-directory: "/path/to/dir/" -*-
to enablerg-mode
on load. How are you saving the buffer?Thanks for your answer. I just use C-x C-s for saving the buffer.