Fix window behavior for magit

This commit is contained in:
Ian Keane 2023-11-24 23:00:12 -05:00
parent 7aade57a0f
commit b6abd3f720

View file

@ -724,7 +724,7 @@ Uses the external fish program to provide fish-style completions to eshell etc
(global-git-gutter+-mode t) (global-git-gutter+-mode t)
(use-package magit) (use-package magit)
(use-package magit-todos) (use-package magit-todos)
(setq magit-display-buffer-function 'switch-to-buffer) (setq magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1)
#+end_src #+end_src
* Meow * Meow
#+begin_src emacs-lisp #+begin_src emacs-lisp