Hooks for entering and exiting Insert State in Evil

York Zhao gtdplatform at gmail.com
Sun Jul 31 21:21:39 CEST 2011


Hi,

It seems to me that there are no hooks for entering and exiting Insert State
in evil. So I'm doing the following workaround:

(defadvice evil-insert ...)
(defadvice evil-normal-state ...)

The advice for `evil-insert' seems to be working but the advice for
`evil-normal-state' was always being called even after entering Insert
state. Can these hooks be added in evil? Or, is there any other mechanism
for this?

Thanks,

York
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20110731/30ab76af/attachment.htm 


More information about the implementations-list mailing list