Normalize keymaps on evil-org-mode

Fixes an issue where evil keybinds aren't in effect on just after
activating org-mode.
This commit is contained in:
Henrik Lissner 2020-08-14 13:25:36 -04:00
parent 702fb6e95d
commit ff90fc82e6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -955,6 +955,7 @@ compelling reason, so..."
(defvar evil-org-special-o/O '(table-row))
(defvar evil-org-use-additional-insert t)
:config
(add-hook 'evil-org-mode-hook #'evil-normalize-keymaps)
(evil-org-set-key-theme)
(add-hook! 'org-tab-first-hook :append
;; Only fold the current tree, rather than recursively