use the hyphen d to open 2 files in diff mode
vim -d file1.txt file2.txt
use ]c [c to move between the changes
ctrl w w to scroll through changes
:diffoff to turn off diff
No comments:
Post a Comment