rh searches for a string with ripgrep, then opens the selected match in helix.
This code is derived from this Hacker News post.
rh is distributed as a Zsh plugin. Install it as you install your other Zsh plugins.
All arguments are passed without modification to ripgrep
:
rh <search string>