From c7d4dc60a1827ad2ef4748239fe4276140631848 Mon Sep 17 00:00:00 2001 From: gxlin Date: Wed, 28 Apr 2021 10:29:17 +0800 Subject: More config --- .emacs.d/modes/init-evil-mode.el | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to '.emacs.d/modes/init-evil-mode.el') diff --git a/.emacs.d/modes/init-evil-mode.el b/.emacs.d/modes/init-evil-mode.el index ee7983a..ba04ca5 100644 --- a/.emacs.d/modes/init-evil-mode.el +++ b/.emacs.d/modes/init-evil-mode.el @@ -3,11 +3,11 @@ :hook (evil-org-mode . (lambda () (setq evil-want-C-i-jump nil))) :init (setq evil-want-integration t + evil-want-C-u-scroll t + evil-wannt-fine-undo t evil-want-keybinding nil) :config (evil-set-leader 'normal ",") - (setq evil-want-C-u-scroll t) - (setq evil-want-fine-undo t) (evil-set-undo-system 'undo-tree) (evil-mode 1)) @@ -23,7 +23,14 @@ :config (evil-escape-mode) (setq-default - evil-escape-key-sequence "jk" - evil-escape-unordered-key-sequence t)) + evil-escape-delay 0.2 + evil-escape-key-sequence "jk" + evil-escape-unordered-key-sequence t)) + +(use-package evil-easymotion + :ensure t + :after (evil avy) + :config + (evilem-default-keybindings "SPC")) (provide 'init-evil-mode) -- cgit v1.2.3