-
-
Notifications
You must be signed in to change notification settings - Fork 122
/
scimax-evil.el
41 lines (34 loc) · 901 Bytes
/
scimax-evil.el
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
33
34
35
36
37
38
39
40
41
;;; scimax-evil.el --- Evil mode for scimax
;;; Commentary:
;;
;;; Code:
(use-package evil
:ensure t
:init
(setq evil-want-integration t) ;; This is optional since it's already set to t by default.
(setq evil-want-keybinding nil)
:config
(evil-mode 1))
(use-package evil-collection
:after evil
:ensure t
:config
(evil-collection-init))
(use-package general
:ensure t
:init
(setq general-override-states '(insert
emacs
hybrid
normal
visual
motion
operator
replace))
:config
(general-define-key
:states '(normal visual motion)
:keymaps 'override
"SPC" 'scimax/body))
(provide 'scimax-evil)
;;; scimax-evil.el ends here