The only grep in Vim that I need...
MIT License
Example configuration
nnoremap gr :<C-u>Grep<Space>
nnoremap <silent> K :<C-u>Grep<CR>
vnoremap <silent> K :Grep<CR>
Example features (the result is set in the location list)
" git grep function (with grep command fallback outside of a git repository)
:Grep function
" grep at the current directory
:Grep function .
" grep from the other git repository
:Grep function ~/vim/grep/
" grep with the word under the cursor
:Grep
" grep with the selected text in the visual mode
:'<'>Grep
Install with your favorite plugin manager.
itchyny (https://github.com/itchyny)
This software is released under the MIT License, see LICENSE.