Executing VIM commands in a shell script
I am writing a bash script that runs a command line program (Gromacs),
saves the results, modifies the input files, and then loops through the
process again. I am trying to use VIM to modify the input text files, but
I have not been able to find a way to execute internal VIM commands like
:1234, w, x, dd, ect. from the .sh file after opening my input files in
VIM ("vim conf.gro").
Is there any practical way to execute VIM commands from the shell script?
No comments:
Post a Comment