Adjust org-drill configuraton and add org capture template

This commit is contained in:
Marcel Kapfer 2025-06-28 15:19:26 +02:00
parent 61fdbfe5d8
commit b31fbacfaf
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -1694,9 +1694,20 @@ Source: [[https://gitlab.com/phillord/org-drill/][GitLab: phillord/org-drill]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org-drill (use-package org-drill
:after org :after org
:custom
(org-drill-learn-fraction 0.4)
(org-drill-maximum-items-per-session 50)
:config :config
(setq org-drill-learn-fraction 0.4) (with-eval-after-load 'org-capture
(setq org-drill-maximum-items-per-session 50)) (add-to-list 'org-capture-templates '("d" "Org Drill"))
(add-to-list
'org-capture-templates
'("de"
"Org Drill: English Word"
entry
(file+headline "~/org/drill/english.org" "Two-sided")
"** %^{Type|Noun|Verb|Adjective|Conjuction} :drill:\n:PROPERTIES:\n:DRILL_CARD_TYPE: twosided\n:END:\n\n*** Word\n\n%^{Word}\n\n*** Description\n\n%^{Description}\n\n*** Examples\n\n%?\n\n"
:empty-lines 1))))
#+end_src #+end_src
** Org for blogging ** Org for blogging