Add magit modes to emacs state modes list

This commit is contained in:
Jeremy Dormitzer 2019-02-14 12:00:03 -05:00
parent a59d7a3942
commit 7418096081

View File

@ -1222,6 +1222,9 @@ Magit is objectively the best Git interface.
#+BEGIN_SRC emacs-lisp
(use-package magit
:commands magit-status
:config
(add-to-list 'evil-emacs-state-modes 'magit-mode)
(add-to-list 'evil-emacs-state-modes 'magit-status-mode)
:general
(magit-mode-map "SPC" leader-map))
#+END_SRC