From the course: Learning Vim
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
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.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Delete text1m 16s
-
(Locked)
Challenge: Delete sentence5s
-
(Locked)
Solution: Delete sentence15s
-
Copy and paste2m 2s
-
(Locked)
Challenge: Copy and paste6s
-
(Locked)
Solution: Copy and paste15s
-
(Locked)
Change text1m 25s
-
(Locked)
Challenge: Change text13s
-
(Locked)
Solution: Change text16s
-
(Locked)
Visual selection1m 55s
-
(Locked)
Challenge: Use visual selection6s
-
(Locked)
Solution: Use visual selection21s
-
(Locked)
Registers2m 36s
-
(Locked)
Challenge: Use registers11s
-
(Locked)
Solution: Use registers46s
-
Replace text1m 7s
-
(Locked)
-
-
-
-
-