ctrlsf.vim icon indicating copy to clipboard operation
ctrlsf.vim copied to clipboard

Feature request/query: how to pass a list of files to grep through?

Open justrajdeep opened this issue 1 year ago • 2 comments

Hi

I have a list of files that I want CtrlSF to look through instead directories. It is possible to do that?

Thanks for the awesome plugin.

Edit: I am in linux and have got the file list using fd

justrajdeep avatar Oct 06 '23 16:10 justrajdeep

You can pass the list to CtrlSF as regular command

:CtrlSF foo file1 file2 file3

dyng avatar Oct 07 '23 14:10 dyng

Can it be a file?

it might be 100s of files thats why asking if we can put all the files in a list and pass that list or a command like cat list

justrajdeep avatar Oct 09 '23 16:10 justrajdeep