answersLogoWhite

0

How do you paste in vi?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best 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.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you paste in vi?
Write your answer...
Submit
Still have questions?
magnify glass
imp