summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-05-25 20:51:27 -0400
committerKyle Meyer <kyle@kyleam.com>2016-05-25 20:51:27 -0400
commitfc70f403fe8ad479b0fbc303347c0dad34000799 (patch)
tree102035cf84a327ab842009df4b8c1003bbf3bbc9
parentef0535c71a6845e15a3b3b44be121c8e71790822 (diff)
downloademacs.d-fc70f403fe8ad479b0fbc303347c0dad34000799.tar.gz
Use magit-display-buffer-fullframe-status-v1
-rw-r--r--init.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/init.el b/init.el
index 6b9082c..260da73 100644
--- a/init.el
+++ b/init.el
@@ -866,10 +866,8 @@
(remove-hook 'magit-refs-sections-hook #'magit-insert-tags)
- (add-hook 'magit-post-display-buffer-hook
- (lambda ()
- (when (eq major-mode 'magit-status-mode)
- (delete-other-windows))))
+ (setq magit-display-buffer-function
+ #'magit-display-buffer-fullframe-status-v1)
(define-key ctl-x-4-map "g" #'magit-find-file-other-window)
(define-key km/file-map "g" #'magit-find-file)