Archive for January, 2008

Vimdiff

Start with:

(g)vim -d file1 file2

or

(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 )

Comments