Open srnnkls opened 5 years ago
I don't use evel so you will have to elaborate a bit more here. What's the problem in concrete terms?
The problem lies on the evil side (Why don’t keys defined with evil-define-key work (immediately)?).
The solution, after finding the right hook, was pretty straightforward, though:
(add-hook 'polymode-init-inner-hook
#'evil-normalize-keymaps)
Sorry for bothering you!
Should this be added as part of polymode compatibility layer instead? Others might find this useful as well right?
Of course, good idea.
Another observation:
poly-org-mode-map
is applied only after switching to insert-state first? What is the best way to initially take care of precedence ofpoly-org-mode-map
overevil-normal-state-map
?