From 7dd02a2a138bbfaf67684baad76e9a4e13a6873c Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 15 Aug 2020 00:02:13 +0100 Subject: +hook to after-init for evil mode --- Emacs/.config/emacs/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 698ff35..e1ea23a 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -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) -- cgit v1.2.3-13-gbd6f