Open zacmathe opened 4 years ago
You can somewhat fix this problem by finding any large files in the directory that are causing rg to never terminate (for me it was a 12GB sql file). Agreed that this is an issue though, I was encountering the same thing and it was really hard to pin down and drained my battery quickly
Ran into this today. A timeout feature would be ideal to terminate the search if it doesn't succeed in X time.
man fzf
)Any time I use Rg, regardless of whether I subsequently open a file or cancel it with ESC, the
rg
process continues to run indefinitely.If I follow thesee steps:
:Rg
and open a file:Rg
then ESC:q!
to quit vimMy activity monitor shows this:
This makes Rg unusable, as the rg process maxes out the CPU until I manually kill it.