Quang Hiếu
New member
How do you copy in vi?
Answer
Move the cursor to the end of the text you want to copy or cut. You can use a movement command or up, down, right, and left arrow keys.
Press y to copy, or d to cut the selection. Move the cursor to the location where you want to paste the contents.
Answer
Move the cursor to the end of the text you want to copy or cut. You can use a movement command or up, down, right, and left arrow keys.
Press y to copy, or d to cut the selection. Move the cursor to the location where you want to paste the contents.