summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-god.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-god.el b/lisp/init-god.el
index 04c9a8c..5233bd5 100644
--- a/lisp/init-god.el
+++ b/lisp/init-god.el
@@ -9,6 +9,8 @@
(setq god-exempt-major-modes
(append km/god-exempt-major-modes god-exempt-major-modes))
+(add-to-list 'god-exempt-predicates #'km/god-magit-mode-p)
+
(add-hook 'view-mode-hook (lambda ()
(if view-mode
(god-local-mode-pause)