summaryrefslogtreecommitdiff
path: root/org-fc-hydra.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-01-15 14:11:55 +0100
committerLeon Rische <leon.rische@me.com>2020-01-15 14:11:55 +0100
commit95bf087522765291bd3eb8f98fffc30193a6fc69 (patch)
treed62e014fd595b833df7253af61b1ed3cd76f5d93 /org-fc-hydra.el
parent4e835f6ba1ec0fb42b95463e87cf81cd0153414c (diff)
Add & document default hydra
Diffstat (limited to 'org-fc-hydra.el')
-rw-r--r--org-fc-hydra.el17
1 files changed, 17 insertions, 0 deletions
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)