about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-17 23:02:11 -0500
committerCase Duckworth2021-04-17 23:02:11 -0500
commitc1f0a14b8f751284c415ff2c8ee39c34fc370bb5 (patch)
tree87d4eddd9b208df6179f84eb79acdbf99efdae7c
parentAutoload `elpher-bookmarks' (diff)
downloademacs-c1f0a14b8f751284c415ff2c8ee39c34fc370bb5.tar.gz
emacs-c1f0a14b8f751284c415ff2c8ee39c34fc370bb5.zip
Reorganize magit settings
-rw-r--r--init.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/init.el b/init.el index d62798c..8edb672 100644 --- a/init.el +++ b/init.el
@@ -486,11 +486,14 @@
486 486
487(setup (:straight magit) 487(setup (:straight magit)
488 (:leader "g" magit-status) 488 (:leader "g" magit-status)
489 (:option magit-display-buffer-function 489
490 (defun magit-display-buffer-same-window (buffer) 490 (defun magit-display-buffer-same-window (buffer)
491 "Display BUFFER in the selected window like God intended." 491 "Display BUFFER in the selected window like God intended."
492 (display-buffer buffer '(display-buffer-same-window))) 492 (display-buffer buffer '(display-buffer-same-window)))
493 magit-popup-display-buffer-action '((display-buffer-same-window)))) 493
494 (:option magit-display-buffer-function #'magit-display-buffer-same-window
495 magit-popup-display-buffer-action '((display-buffer-same-window))
496 magit-refresh-status-buffer nil))
494 497
495(setup (:straight nov) 498(setup (:straight nov)
496 (:option nov-text-width fill-column) 499 (:option nov-text-width fill-column)