golden-ratio-mode turned off when using
ediff and turned on after I finish merging with
I cannot figure out a way to evenly balance Ediff's windows (A, B and C).
(use-package ediff :ensure nil :init (add-hook 'ediff-before-setup-windows-hook (lambda () (golden-ratio-mode -1) (balance-windows))) (add-hook 'ediff-cleanup-hook (lambda () (golden-ratio-mode 1))) :config (setq-default ediff-split-window-function 'split-window-horizontally))
What am I missing?