From 142d0d50fb739f1d67e1df653ac4280922e7accc Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 6 Sep 2023 10:59:54 +0400 Subject: [PATCH] magit emacs --- config/emacs/init.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/emacs/init.el b/config/emacs/init.el index 5b397c55..653ade41 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -220,5 +220,14 @@ (use-package counsel-projectile :config (counsel-projectile-mode)) +;; git +(use-package magit + :commands (magit-status magit-get-current-branch) + :custom + (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) + +(use-package evil-magit + :after magit) + ;; video ;; https://youtu.be/INTu30BHZGk?t=1626