1. Frank Fischer
  2. evil
  3. Issues
Issue #131 resolved

`evil-set-toggle-key' does not reset key in insert-state

Michael Markert
created an issue

Attached is a patch that resets the toggle key also in insert state and refactors the code.

Comments (4)

  1. Frank Fischer repo owner
    • changed status to open

    Thanks a lot. Currently I do not understand the two entries for evil-insert-state-map in these lines:

    +      (dolist (pair '((evil-motion-state-map evil-emacs-state)
    +                      (evil-insert-state-map evil-emacs-state)
    +                      (evil-insert-state-map evil-exit-emacs-state)))
    

    It looks to me as if the third entry overwrites the second one (both creating a binding in evil-insert-state-map). Perhaps the third entry should be evil-emacs-state-map?

  2. Log in to comment