A little appreciation for Vim's 'g' command
https://utcc.utoronto.ca/~cks/space/blog/unix/VimGCommandPraise [utcc.utoronto.ca]
2019-02-03 00:34
Put simply, g (and v) are filters; you apply them to a range of lines, and for lines that they match (or don’t match), they then run whatever additional commands you want.