From 0f11e5c1170a87e8e57450042729c205e3131ad0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 5 Jul 2017 03:09:43 +0200 Subject: [PATCH] Enable evil insert mode in org-capture-mode #138 --- modules/org/org-capture/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/org/org-capture/config.el b/modules/org/org-capture/config.el index 038d87b72..7c8706432 100644 --- a/modules/org/org-capture/config.el +++ b/modules/org/org-capture/config.el @@ -41,6 +41,9 @@ ;; "** %i%?\n") )) + (when (featurep! :feature evil) + (add-hook 'org-capture-mode-hook #'evil-insert-state)) + ;; Allows the Emacs mini-frame (opened from an external shell script to run ;; and clean up properly) if the frame is named "org-capture". (require 'org-capture)