Org capture and evil mode - automatically switch to insert mode

I use org-mode capture to create small notes and todos. I also use evil mode.

What I would like to do is automatically switch to insert mode when I go to capture. I tried to add the hook to bypass-capture-mode-hook and run (evil-paste) into the hook, but this does not work. Is there anything else I can try?

Thanks!

Simon

+6
source share
2 answers
(add-hook 'org-capture-mode-hook 'evil-insert-state) 
+7
source

You can try

 (evil-set-initial-state 'org-capture-mode 'insert) 
+1
source

Source: https://habr.com/ru/post/948060/


All Articles