I have this scenario. For example, I have 3 lines of text with following content:
first_line
second_line
third_line
I want to copy text first_line
to replace second_line
and third_line
. So after copy and replace, new content should be:
first_line
first_line
first_line
I do by: press viw for selecting first_line
text. Then go to second line, press vi for selecting second_line
text, then press p for replacing text.
I repeat again by go to third line. But at this time, text second_line
is saved to clipboard automatically (I don't copy it). so when I replace third_line
text, new text will be second_line
. So new content will be:
first_line
first_line
second_line
This behavior annoys me so much. It makes me cannot copy one content to many places. How can I fix this.
Thanks.