From 4c65ce4c71a41de1a369b8c0ed4705e512f5da58 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 14 May 2019 22:26:56 -0400 Subject: [PATCH] Start help-with-tutorial in emacs state --- modules/editor/evil/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/editor/evil/config.el b/modules/editor/evil/config.el index e43de25d6..eae78c21a 100644 --- a/modules/editor/evil/config.el +++ b/modules/editor/evil/config.el @@ -44,6 +44,9 @@ line with a linewise comment.") (put 'evil-define-key* 'lisp-indent-function 'defun) + ;; Start help-with-tutorial in emacs state + (advice-add #'help-with-tutorial :after (lambda (&rest _) (evil-emacs-state +1))) + ;; Done in a hook to ensure the popup rules load as late as possible (defun +evil|init-popup-rules () (set-popup-rules!