I just started with Vim recently and I got stuck with a basic problem!
When I want to copy and paste more than one line of my codes and paste it in the other place, the original codes will not move down after I paste my lines on top of them. For example, my original codes is look like:
aaa
bbb
ccc
after I using visual mode to select all of them and using 'y' to copy, then I move my cursor to the top-left of my file and use "P" to paste them on the top of my file, it becomes:
aaa aaa
bbb bbb
ccc ccc
instead of what I want
aaa
bbb
ccc
aaa
bbb
ccc
I don't know what I just got wrong? or is this the way how vim deal with copy and paste? so I need to push the original lines down first before I paste them on it? it's sounds a little inconvenient to do so!
Can anyone tell me how to do what I want easily? Thanks!