To move cursor on the 4th line,toggle into normal mode,input 8yy
.
To move cursor to 15th line,and toggle into normal mode,press p
.
Now the lines from 4th till 11th was pasted from 15th till 22th line.
Can all the steps can be repalced with a command in ex mode?
To make it clear.
primitive file
target file
How to change primitive file into target file with a command in ex mode?