If I do a grep search within vim, I'll get a list of results that I can browse using :lopen. Is there a way to do a subsequent search on only these resulting files?

Basically I want to do refined searches as might be done with a pipe on the terminal.

  • Welcome to Vi and Vim! I’m not sure this question doesnt already have an answer, so I’m going to go looking for a duplicate, but in the meantime I will post an answer with some plugins I know of. – D. Ben Knoble Jul 4 '19 at 13:40

There are plugins that address this, such as qftools or vim-qf by our own romainl. A quick google gets plenty of results.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.