Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: ediff-split-window-function Horizontal==vertical?
使用 GNU Emacs 23.4.1。和M-x ediff-files
M-x ediff-files
1-如何使两个文件垂直并排。默认情况下,它们是一个顶部,一个向下。我要一左一右。
2-如何自动滚动到下一个差异?
要并排拆分窗格:
(setq ediff-split-window-function 'split-window-horizontally ediff-window-setup-function 'ediff-setup-windows-plain)
(您可以使用 探索 ediff 的设置M-x customize-group RET ediff RET。)
n并将p分别带您到下一个或上一个差异块。按下?以获得完整菜单,其中包括将更改从缓冲区 1 复制到缓冲区 2 的便捷键,反之亦然。