+hook to after-init for evil mode
This commit is contained in:
@@ -193,12 +193,12 @@ Setup the evil package, with some basic keybinds. Also declare a
|
||||
leader-map at "SPC".
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package evil
|
||||
:hook (after-init-hook . evil-mode)
|
||||
:init
|
||||
(setq evil-want-keybinding nil
|
||||
evil-split-window-below t
|
||||
evil-vsplit-window-right t)
|
||||
:config
|
||||
(evil-mode +1)
|
||||
(evil-define-key 'normal global-map
|
||||
"TAB" #'evil-jump-item)
|
||||
(evil-define-key 'visual 'emacs-lisp-mode-map "gr" #'eval-region)
|
||||
|
||||
Reference in New Issue
Block a user