Trương Duy Bằng
New member
How do I copy a line in vi?
Answer
Copying lines into a buffer
Answer
Copying lines into a buffer
- Press the ESC key to be sure you are in vi Command mode.
- Place the cursor on the line you wish to copy.
- Type yy to copy the line.
- Move the cursor to the place you wish to insert the copied line.