How do you paste in vi?

Answer:
You use the 'yank' and 'put' commands. You 'yank' the lines into a buffer (named a - z) and then go to the place where you want to paste or duplicate them, and use the 'put' command to insert them.

You can also read entire files or portions of files with the 'r' command to paste contents into other files.
First answer by Enigmamerlin. Last edit by Enigmamerlin. Contributor trust: 107 [recommend contributor recommended]. Question popularity: 2 [recommend question].