Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
hydra-repeat': hydra-specific
repeat'
* hydra.el (hydra-repeat): New defun. (hydra-repeat--command): New defvar. (hydra-repeat--prefix-arg): New defvar. Example: (defhydra hydra-vi () "vi" ("h" backward-char) ("j" next-line) ("k" previous-line) ("l" forward-char) ("." hydra-repeat)) (global-set-key (kbd "C-v") 'hydra-vi/body) "C-v 4l.." will result in movement forward by 4 chars 3 times: first time from "4l", the other two from "..". Fixes #59.
- Loading branch information