vimdiff Cheatsheet Revision as of Thursday, 28 May 2026 at 13:06 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.