Rewrite in Rust of cgvg using ripgrep.
cgvg.rs
is a set of two command line tools cg
(code grep) and vg
(vi grepped) to quickly search for patterns in a file tree and open them with a text editor.
Sorry for the starship warning, I'll fix that asap :)
cg
is wrapper around the ripgrep utility command. cg
forwards it command line arguments to rg, and parses its result to save the matching patterns to be oppened later with vg
.
vg
takes as argument the index of the last research with cg
and opens it with your $EDITOR
.