From the course: Learning Vim
Solution: Diff mode
“
- [Instructor] To open vim in diff mode, we'll use the dash D switch, so vim dash D, road1.txt and road2.txt, and now we'll move to the end of the file with shift G, and to put this diff on the right side, we'll use DP for diff put.
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)
Start Vim with a command1m 38s
-
(Locked)
Challenge: Use Vim command4s
-
(Locked)
Solution: Use Vim command26s
-
(Locked)
Diff mode3m 4s
-
(Locked)
Challenge: Diff mode8s
-
Solution: Diff mode18s
-
(Locked)
Zip files1m 19s
-
(Locked)
Challenge: Zip file8s
-
(Locked)
Solution: Zip file22s
-
(Locked)
Open files from name1m 22s
-
(Locked)
Challenge: Open file to line number11s
-
(Locked)
Solution: Open file to line number26s
-
(Locked)
External commands2m 9s
-
(Locked)
Challenge: External command13s
-
(Locked)
Solution: External command31s
-
(Locked)
-