I use fzf.vim (with rg) to search through (grep) my project.
The problem with this implementation is that (from what I understand) fzf.vim joins all the files (adding filename at the beginning of the line) and then fzf does the fuzzy search, so 'test' will find all the occurance of 'test' in all files but also will show all the lines from the file that have 'test' in its name (e.g. test.txt).
Is there a plugin/patch/etc that have grep (ag/rg etc.) that is lazy?
What I mean by that is:
Command is executed on type and there is delay to prevent executing command too frequently.
Best regards
:help :vimgrep
and:help :grep
.Blazingly fast
. What is your actual problem with the current situation? Are you afraid that fzf when often used will use too much CPU which will extend running time of long-running tasks, shorten battery life, ...?:Ag
here github.com/junegunn/fzf.vim/issues/346