Post

36 Comparing with Ediff

36 Comparing with Ediff

Comparing with Ediff

Ediff commands

KeystrokesCommand nameAction
Space or nediff-next-differenceMove to the next difference between the files.
Del or pediff-previous-differenceMove to the preceding difference between the files.
jediff-jump-to-differenceGo to the difference specified as a numeric prefix argument.
v or C-vediff-scroll-verticallyMove forward one page in both buffers.
V or M-vediff-scroll-verticallyMove backward one page in both buffers.
<ediff-scroll-horizontallyScroll each buffer to the left.
>ediff-scroll-horizontallyScroll each buffer to the right.
**** (vertical bar)ediff-toggle-split
mediff-toggle-wide-displayToggle between normal frame size and making it as wide as possible.
aediff-copy-A-to-BCopy the version of the current difference found in buffer A to buffer B.
bediff-copy-B-to-ACopy the version of the current difference found in buffer B to buffer A.
r a or r bediff-restore-diffRestore the current difference in buffer A (or B) to the way it was before copying from the other buffer.
A or Bediff-toggle-read-onlySwitch the specified buffer into (or out of) read-only mode.
g a or g bediff-jump-to-difference-at-pointRecenter the comparison buffers on the difference nearest to your current location (point) in the specified buffer.
C-lediff-recenterRestore the comparison display so that the highlighted regions of all buffers being compared are visible; useful if you’ve been doing something else and want to get back to comparing.
!ediff-update-diffsRecalculate and redisplay the highlighted regions; useful if you’ve manually made extensive changes to a buffer.
w a or w bediff-save-bufferSave the specified buffer to disk.
Eediff-documentationOpen the manual for Ediff.
zediff-suspendClose the Ediff control window, but leave the session active so you can resume it later.
qediff-quitClose the Ediff window and end this comparison session.
This post is licensed under CC BY 4.0 by the author.