Friday, January 26, 2024

using vim diff

 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