I've been using the command mode for making replacements in a file. Something like
:%s/foo/bar/g and to make a series of replacements:
:%s/i/1/g | :%s/j/2/g | :%s/k/3/g | :%s/l/4/g | ...
This line exists in the command history but I was curious if these commands can be pulled from a file with contents like:
%s/i/1/g %s/j/2/g %s/k/3/g %s/l/4/g . . .
If this is a possibility, it will be easy to have several replacement combinations in different files. Thanks for your thoughts and comments.