That's not minimalist, this is minimalist
sn() {
rg -S -C 2 $1 /some/folder/with/snippets/as/files
}
$ sn git #searches for snippets containing `git`