From d0be4ad5e9864143dd5b3eeced216d318154023f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 23 Aug 2020 17:16:28 +0100 Subject: +magit to core packages --- Emacs/.config/emacs/config.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Emacs/.config/emacs') 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 -- cgit v1.2.3-13-gbd6f