28.6.4 Merge Commands
Here are the Merge commands for Fast mode; in Edit mode, precede them with C-c C-c
:
p
β
Select the previous difference.
n
β
Select the next difference.
a
β
Choose the A version of this difference.
b
β
Choose the B version of this difference.
C-u n j
β
Select difference number n
.
.
Select the difference containing point.
q
β
Quitβfinish the merge.
C-]
β
Abortβexit merging and do not save the output.
f
β
Go into Fast mode. (In Edit mode, this is actually C-c C-c f
.)
e
β
Go into Edit mode.
l
β
Recenter (like C-l
) all three windows. With an argument, reestablish the default three-window display.
-
β
Specify part of a prefix numeric argument.
digit
β
Also specify part of a prefix numeric argument.
d a
β
Choose the A version as the default from here down in the merge buffer.
d b
β
Choose the B version as the default from here down in the merge buffer.
c a
β
Copy the A version of this difference into the kill ring.
c b
β
Copy the B version of this difference into the kill ring.
i a
β
Insert the A version of this difference at point.
i b
β
Insert the B version of this difference at point.
m
β
Put point and mark around the difference.
^
β
Scroll all three windows down (like M-v
).
v
β
Scroll all three windows up (like C-v
).
<
β
Scroll all three windows left (like C-x <
).
>
β
Scroll all three windows right (like C-x >
).
|
β
Reset horizontal scroll on all three windows.
x 1
β
Shrink the merge window to one line. (Use C-u l
to restore it to full size.)
x c
β
Combine the two versions of this difference (see Combining in Emerge).
x f
β
Show the names of the files/buffers Emerge is operating on, in a Help window. (Use C-u l
to restore windows.)
x j
β
Join this difference with the following one. (C-u x j
joins this difference with the previous one.)
x s
β
Split this difference into two differences. Before you use this command, position point in each of the three buffers at the place where you want to split the difference.
x t
β
Trim identical lines off the top and bottom of the difference. Such lines occur when the A and B versions are identical but differ from the ancestor version.