blob: 8181db73e8c6731cb8c2cc3a0b91cfd879314f37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
(use-package evil
:ensure t
:hook ((evil-org-mode . (lambda () (setq evil-want-C-i-jump nil)))
(after-init . (lambda () (evil-mode 1))))
:init
(setq evil-want-integration t
evil-want-C-u-scroll t
evil-wannt-fine-undo t
evil-want-keybinding nil
evil-disable-insert-state-bindings t)
:config
(evil-set-leader 'normal ",")
(evil-set-undo-system 'undo-tree)
(evil-define-key 'normal 'global
(kbd "<leader>fc") 'execute-extended-command)
(evil-define-key 'insert 'global
(kbd "C-【") 'evil-normal-state))
(use-package evil-collection
:after evil
:ensure t
; :custom (evil-collection-setup-minibuffer t)
:config
(evil-collection-init))
(use-package evil-easymotion
:ensure t
:after (evil avy)
:config
(evilem-default-keybindings "SPC"))
(provide 'init-evil)
|