dakra / speed-type

Practice touch/speed typing in emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add "hooks" to speed-type?

ianyepan opened this issue · comments

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?

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!!

#30 is finally merged :)

Nice to see some movement here!