Let's say I have a file "edit_commands" with some editing commands, like:
:1,$s/good/better/g
:1,$s/bad/worse/g
Is there a way to let vi load and run the commands in "edit_commands"?
Update: It appears the "-S" option can be used for this. Refer to: How to run a series of vim commands from command prompt