From 49aa78b8d2e01b275038eb3869660fde3a077423 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 21 Apr 2022 23:15:29 +0800 Subject: Add more autoload in emacs --- .emacs.d/lisp/init-evil.el | 2 ++ 1 file changed, 2 insertions(+) (limited to '.emacs.d/lisp/init-evil.el') diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el index e8977c6..3ea1728 100644 --- a/.emacs.d/lisp/init-evil.el +++ b/.emacs.d/lisp/init-evil.el @@ -1,4 +1,5 @@ (when (gx/maybe-require-package 'evil) + (autoload #'evil-mode "evil") (add-hook 'after-init-hook (lambda () (evil-mode 1)) 'append)) (setq evil-want-integration t @@ -45,6 +46,7 @@ ;; evil-easymotion (when (gx/maybe-require-package 'evil-easymotion) (with-eval-after-load 'evil + (require 'evil-easymotion) (evilem-default-keybindings "SPC"))) (provide 'init-evil) -- cgit v1.2.3