diff --git a/home/emacs/init.el b/home/emacs/init.el index 9f9970c2..ac17a8bf 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -426,7 +426,9 @@ (project-find-dir "Find directory") (project-eshell "Eshell"))) -(setq magit-clone-default-directory "~/Projects/") +(setq magit-clone-default-directory "~/Projects/" + magit-commit-show-diff nil + magit-commit-diff-inhibit-same-window t) (use-package magit :ensure t) diff --git a/home/emacs/init.org b/home/emacs/init.org index 83f641a3..8d2f900a 100644 --- a/home/emacs/init.org +++ b/home/emacs/init.org @@ -502,8 +502,11 @@ For reference information, see [[https://orgmode.com][Org-mode website]] (project-eshell "Eshell"))) #+END_SRC ** Version control +*** Magit #+begin_src emacs-lisp - (setq magit-clone-default-directory "~/Projects/") + (setq magit-clone-default-directory "~/Projects/" + magit-commit-show-diff nil + magit-commit-diff-inhibit-same-window t) (use-package magit :ensure t) #+end_src