From the course: Learning Vim

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Solution: Copy and paste

Solution: Copy and paste - vi Tutorial

From the course: Learning Vim

Solution: Copy and paste

- [Instructor] So, vim time.txt. To copy the line, we're going to use Y, Y to yank a line, then G to move to the end of the line, and the Shift + P to place the line before the current line.

Contents