Many thanks, it looks like that vim is easier. Gena Emacs can do that natively. Just look at templates within the Emacs regular info page. I looked at a time or two. I think they could use more examples to make things clearer but from what you're asking, the templates feature should do the trick.