summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-git.el
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2019-12-27 09:24:08 -0800
committerFranck Cuny <franck.cuny@gmail.com>2019-12-27 09:24:08 -0800
commitd1ca1d88683f9c360ae83904573295782d1a8116 (patch)
treec08a44b28b5eedb5e1a5ebd6be2723e85a959280 /emacs.d/custom/fcuny-git.el
parentemacs: bigger font. (diff)
downloademacs.d-d1ca1d88683f9c360ae83904573295782d1a8116.tar.gz
emacs: magit buffer in full frame
With a bigger font, on a 13" laptop, I want magit to be full frame, I
don't want anything splitted.

Move a couple of other settings to the `:custom` section of
`use-package`.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-git.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs.d/custom/fcuny-git.el b/emacs.d/custom/fcuny-git.el
index 27a409f..68a5ecf 100644
--- a/emacs.d/custom/fcuny-git.el
+++ b/emacs.d/custom/fcuny-git.el
@@ -9,9 +9,11 @@
   :after (flyspell)
   :hook ((magit-mode . hl-line-mode))
   :bind (("C-x g s" . magit-status))
+  :custom
+  (git-commit-summary-max-length 50)
+  (fill-column 72)
+  (magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)
   :config
-  (setq git-commit-summary-max-length 50)
-  (setq fill-column 72)
   (when (fcuny/check-work-machine-p)
     (setq magit-git-executable "/opt/twitter_mde/bin/git")))