I was surprised there wasn't an easier way to do this already in vim, so I made an external script to render mini-templates multiple times:
Usage in vim:
write the text with %s, e.g. similar text %s similar text ...
use V to select line
run :!templ wordA wordB wordC
My script allows much more complicated examples too -...