We changed our privacy policy. Read more.

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: https://github.com/evanbattaglia/templ 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 -...

Only top voted, non community-wiki answers of a minimum length are eligible