From 95bf087522765291bd3eb8f98fffc30193a6fc69 Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Wed, 15 Jan 2020 14:11:55 +0100 Subject: Add & document default hydra --- org-fc-hydra.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 org-fc-hydra.el (limited to 'org-fc-hydra.el') diff --git a/org-fc-hydra.el b/org-fc-hydra.el new file mode 100644 index 0000000..8bf108b --- /dev/null +++ b/org-fc-hydra.el @@ -0,0 +1,17 @@ +(defhydra org-fc-hydra () + ("m" org-fc-dashboard "Dashboard" :exit t) + ("r" org-fc-review-all "Start Review") + ("u" org-fc-update "Update Card") + ("t" org-fc-hydra-type/body "Init Type" :exit t) + ("q" nil "Quit" :exit t)) + +(defhydra org-fc-hydra-type () + ("n" org-fc-type-normal-init "Normal" :exit t) + ("t" org-fc-type-text-input-init "Text Input" :exit t) + ("d" org-fc-type-double-init "Double" :exit t) + ("d" (org-fc-type-cloze-init 'deletion) "Deletion" :exit t) + ("e" (org-fc-type-cloze-init 'enumeration) "Enum" :exit t) + ("x" (org-fc-type-cloze-init 'context) "Context" :exit t) + ("q" nil "Quit" :exit t)) + +(provide 'org-fc-hydra) -- cgit v1.2.3