first move you cursor to the line which you wanna copy
then go into command mod by pressing ESC
then press yy which mean yank the line if you wanna copy more then one line then press y[n] where n is the no of lines to copy from the cursor.
now move you cursor to the line where you want to paste them and press p.
and its done!
|