summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-god.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/init-god.el b/lisp/init-god.el
index 5ccb00d..357b40c 100644
--- a/lisp/init-god.el
+++ b/lisp/init-god.el
@@ -24,7 +24,13 @@
(add-hook 'god-mode-enabled-hook (lambda ()
(when view-mode
- (view-mode -1))))
+ (view-mode -1))
+ (when (derived-mode-p 'emacs-lisp-mode)
+ (lispy-mode -1))))
+
+(add-hook 'god-mode-disabled-hook (lambda ()
+ (when (derived-mode-p 'emacs-lisp-mode)
+ (lispy-mode 1))))
(add-hook 'god-mode-enabled-hook 'km/god-update-cursor)
(add-hook 'god-mode-disabled-hook 'km/god-update-cursor)