Emacs package to trigger kbd events.
As this package is not on Melpa (yet), clone this repo and call package-install-file
or simply add a load-path
which points to dokey local repo. If you prefer, you could use quelpa as well.
To enable dokey on Emacs startup, add the following to your init.el:
(require 'dokey)
None
(global-set-key (kbd "C-y") (dokey "M-x emacs-"))
(global-set-key (kbd "C-p") (dokey "C-x C-f dokey-tmp RET insert some text"))
(dokey-run "C-c C-m")