> here’s what the vim ripgrep plugin I’ve been using looks like
Fun fact, Vim has built-in integration for grep-like tools via the `:grep` command.
For Neovim, it checks if ripgrep is available and uses it out of the box. For Vim, you can add this to your .vimrc:
if executable('rg')
set grepprg=rg\ --vimgrep\ --hidden
endif
If you don't have ripgrep installed on your system, it'll use plain grep. In that case, the command `:grep -R foo` works just as nicely.