I use ripgrep for searching in a project and I want to save the ripgrep buffer with the links.
Simply saving the buffer just removes the links and leaves only plain text.
(The reason for this is, I want to go through several parts of the code which I found with ripgrep. This will take some days, and I want to be able to keep track of my progress by going through the search results and delete the ones I already worked on.)
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.