Vim: Replacing a line with another one yanked before
Vp
: select line, paste what was yanked
What I would do :
36G
(replace36
with the line number you want to go to)Y
70G
(replace70
with the line number you want to go to)Vp
You don't have to leave normal mode, but it does yank the line. You can however use V"0p
which will always put the line yanked in step 2.