From the course: Learning Vim

Solution: Diff mode - vi Tutorial

From the course: Learning Vim

Start my 1-month free trial

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.

Contents