aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 3ad6277..8d4877d 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -539,6 +539,22 @@ I'd like to adjust)
(with-eval-after-load "evil-collection"
(evil-collection-ibuffer-setup)))
#+end_src
+** Magit
+Magit is *the* git porcelain for Emacs, which perfectly encapsulates
+the git cli. In this case, I just need to setup the bindings for it.
+As magit will definitely load after evil (as it must be run by a
+binding, and evil will load after init), I can use evil-collection
+freely.
+#+begin_src emacs-lisp
+(use-package magit
+ :general
+ (leader "g" #'magit-status))
+
+(use-package evil-magit
+ :defer nil
+ :after magit
+ :config
+ (evil-magit-init))
#+end_src
* Hydra
Use hydras for stuff that I use often, currently buffer manipulation