From fd949e7063e351d5045f4bdc37d76bc88aa41cfa Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 16 Jun 2018 21:48:37 +0200 Subject: [PATCH] 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. --- modules/tools/magit/autoload.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tools/magit/autoload.el b/modules/tools/magit/autoload.el index b8df2b14a..ad15fa351 100644 --- a/modules/tools/magit/autoload.el +++ b/modules/tools/magit/autoload.el @@ -22,7 +22,7 @@ ;; this one. ((or (bound-and-true-p git-commit-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 ;; exists (we want it always to be visible), then display the ;; target buffer in the current window.