-
Would love an option to export these results. Example: I need to know all files that a specific word. I can see that with live_grep but can I export the file paths or names? I think you can export stuff to the quick fix list but this would not work for my use case unless there's a way to export the quick fix list. |
Beta Was this translation helpful? Give feedback.
Answered by
nenahp
Apr 11, 2025
Replies: 1 comment
-
You can export quickfix by Or if you like you can export to json. Then use require('fzf-lua').live_grep({
fzf_opts = { ['--listen'] = true },
keymap = { fzf = { ['alt-e'] = [[execute-silent:curl localhost:$FZF_PORT > a.json]] } },
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sollymay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can export quickfix by
:w! filename
Or if you like you can export to json. Then use
jq
orvim.json.decode
to do something more.