vimdiff Cheatsheet Revision as of Wednesday, 26 June 2024 at 10:57 UTC

Because these are what you’ll be using 80%+ of the time.

Command Effect
do Get changes from other window
dp Put changes to other window
]c Next Change
[c Previous Change
:diffthis Type in each split window to diff existing buffers
:diffoff Type to turn off diff mode

Use Ctrl+w, Ctrl+w to switch between windows. Via.