Using Windows 10. I have gvim installed. I also have git, and I have git's bin in my PATH (C:\program files (x86)\Git\bin), which puts git's gnu grep in my path so I can use it in the command shell.
> grep -V
grep (GNU grep) 2.4.2
However, when I use grep from vim -
:grep -ir 'something' .
It is using FINDSTR in windows, which doesn't work very well.
How do I make gvim use the GNU grep? I tried pre-pending the git bin dir to my vim path but that didn't help.
:help grepprg
?