spacemacs

Drew Verlee 2022-09-06T22:07:10.854909Z

anyone know of a search buffer like helm-ag only where i can annotate around the search results/links.

Drew Verlee 2022-09-06T22:08:29.558789Z

often times i have have to go through all items in a search and remember something about all of them... i guess i could add the notes directly to the files.

Drew Verlee 2022-09-06T22:08:36.759649Z

that might be the easier thing...

zane 2022-09-06T22:56:29.555609Z

What a fun question.

zane 2022-09-06T22:57:22.195519Z

You could use Embark, via https://docs.doomemacs.org/latest/modules/completion/vertico/.

zane 2022-09-06T22:59:28.382229Z

In evil mode the key sequence would be: • SPC / to initiate the search • type your query • C-; to invoke Embark • E to invoke embark-export That would give you a buffer with the search results. You could then write that to disk. Might need to manually invoke grep-mode when you open it again to make the links work.

👀 1
Cora (she/her) 2022-09-07T01:47:27.468589Z

ivy-occur is pretty awesome and I think fits the problem you're describing

Cora (she/her) 2022-09-07T01:48:07.173439Z

apparently you can save the results of helm-ag using C-x C-s (according to reddit)

Drew Verlee 2022-09-07T02:14:04.565999Z

Thanks @zane and @corasaurus-hex I'll have to take a look at ivy-occur and embark. I have been using helm-ag as part of my spacemacs setup. And i recently figured out how to save the search results. But it would be cool to add some information to the list without losing the links. Like i said, i guess i can just add it directly to the file and remove the notes before doing a git commit. I'll try just doing that for a bit and see if i need to look into some other way.