dotfiles-emacs/.emacs.d/config/ediff.el
finga d39614d8e8 ediff: Set more pleasing ediff settings
Instead of opening the ediff frame open a new buffer and show a side
to side diff.
2024-09-04 09:27:04 +02:00

10 lines
386 B
EmacsLisp

(use-package ediff
:config
(setq diff-switches "-u"
ediff-custom-diff-options "-U3"
ediff-split-window-function 'split-window-horizontally
ediff-window-setup-function 'ediff-setup-windows-plain)
:hook
(ediff-startup . ediff-toggle-wide-display)
(ediff-cleanup . ediff-toggle-wide-display)
(ediff-suspend . ediff-toggle-wide-display))