Start with:

(g)vim -d file1 file2


(g)vimdiff file1 file2

To ‘obtain’ the change in the other file, you type ‘do’, and to ‘put’ the change from the current file across, you type ‘dp’. Navigate with the common window shortcuts ie +( arrow keys or hjkl )

Leave a Comment

You must be logged in to post a comment.