How to add "hooks" to speed-type?
ianyepan opened this issue · comments
Ian Y.E. Pan commented
As titled, I'm an Evil user, and would like to start speed-type in evil-insert-state (i.e. INSERT mode in Vim). Since speed-type does not have its own mode, I couldn't do something like this:
(add-hook 'speed-type-mode-hook #'evil-insert-state)
How can I workaround this? Perhaps advice-add upon the speed-type-text
function?
texaco commented
Hi! I have already applied a PR creating a major mode. Here #30
I have successfully attached a hook for olivetti-mode so I think it would work also for you.
Best regards!!
Daniel Kraus commented
#30 is finally merged :)
texaco commented
Nice to see some movement here!