diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-23 17:16:28 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-23 17:16:28 +0100 |
commit | d0be4ad5e9864143dd5b3eeced216d318154023f (patch) | |
tree | ed30c6da0c49acba0f4e79c9980afdfeea64f691 /Emacs/.config | |
parent | a132c3c7dc501a99623a0a3770f8d61e8b276d22 (diff) | |
download | dotfiles-d0be4ad5e9864143dd5b3eeced216d318154023f.tar.gz dotfiles-d0be4ad5e9864143dd5b3eeced216d318154023f.tar.bz2 dotfiles-d0be4ad5e9864143dd5b3eeced216d318154023f.zip |
+magit to core packages
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 16 |
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 |