Fix evil keybinds in reftex-mode

This commit is contained in:
Henrik Lissner 2020-03-11 22:53:48 -04:00
parent f4aa2a8ca7
commit 4082003fd2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -23,6 +23,8 @@
(?t . "\\textcite[]{%l}")) (?t . "\\textcite[]{%l}"))
reftex-plug-into-AUCTeX t reftex-plug-into-AUCTeX t
reftex-toc-split-windows-fraction 0.3) reftex-toc-split-windows-fraction 0.3)
(when (featurep! :editor evil)
(add-hook 'reftex-mode-hook #'evil-normalize-keymaps))
(map! :map reftex-mode-map (map! :map reftex-mode-map
:localleader :localleader
";" 'reftex-toc) ";" 'reftex-toc)