about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/init.el b/init.el index 23d799c..7d0c2f7 100644 --- a/init.el +++ b/init.el
@@ -372,7 +372,14 @@
372;;; Magit 372;;; Magit
373 373
374(acdw/pkg magit 374(acdw/pkg magit
375 :binds (("g" magit-status :map acdw/leader))) 375 :binds (("g" magit-status :map acdw/leader))
376 :set `((magit-display-buffer-function
377 ,(defun magit-display-buffer-same-window (buffer)
378 "Display BUFFER in the selected window like God intended."
379 (display-buffer buffer
380 '(display-buffer-same-window))))
381 (magit-popup-display-buffer-action
382 ((display-buffer-same-window)))))
376 383
377;;; Web browsing 384;;; Web browsing
378 385