[emacs] work around org source block indentation issue with evil
[~bandali/configs] / init.org
index c7181f4..2374cac 100644 (file)
--- a/init.org
+++ b/init.org
@@ -639,7 +639,8 @@ customizing it.
 #+begin_src emacs-lisp
 (use-package evil
   :demand t
-  :hook (view-mode . evil-motion-state)
+  :hook ((view-mode    . evil-motion-state)
+         (org-src-mode . evil-insert-state))
   :init
   (setq evil-want-integration nil)
   :config (evil-mode 1)