diff options
author | gxlin <[email protected]> | 2021-04-28 10:29:17 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-04-28 10:29:17 +0800 |
commit | c7d4dc60a1827ad2ef4748239fe4276140631848 (patch) | |
tree | 9dd75593e16d6471bc4d4a46b58a895481f18478 /.emacs.d/modes/init-evil-mode.el | |
parent | 8aaabedde4f1ee045c9fedbcf20fecb3d217531a (diff) | |
download | dotfiles-c7d4dc60a1827ad2ef4748239fe4276140631848.tar.gz dotfiles-c7d4dc60a1827ad2ef4748239fe4276140631848.tar.bz2 dotfiles-c7d4dc60a1827ad2ef4748239fe4276140631848.zip |
More config
Diffstat (limited to '.emacs.d/modes/init-evil-mode.el')
-rw-r--r-- | .emacs.d/modes/init-evil-mode.el | 15 |
1 files changed, 11 insertions, 4 deletions
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) |