✨ Adjust org-drill configuraton and add org capture template
This commit is contained in:
parent
61fdbfe5d8
commit
b31fbacfaf
1 changed files with 13 additions and 2 deletions
15
config.org
15
config.org
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue