Make diff larger when committing via magit

The diff window contains more important information, so we shrink the
git commit window and enlargen the diff window.
This commit is contained in:
Henrik Lissner
2018-06-16 21:48:37 +02:00
parent 79413be1f0
commit fd949e7063

View File

@ -22,7 +22,7 @@
;; this one. ;; this one.
((or (bound-and-true-p git-commit-mode) ((or (bound-and-true-p git-commit-mode)
(derived-mode-p 'magit-log-mode)) (derived-mode-p 'magit-log-mode))
'(display-buffer-below-selected)) '(display-buffer-below-selected . ((window-height . 0.7))))
;; From a magit buffer, set aside the magit-status window if it ;; From a magit buffer, set aside the magit-status window if it
;; exists (we want it always to be visible), then display the ;; exists (we want it always to be visible), then display the
;; target buffer in the current window. ;; target buffer in the current window.