From b31fbacfaf1bbcd5e62cc541413c7ba1e6f57b09 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sat, 28 Jun 2025 15:19:26 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Adjust=20org-drill=20configuraton?= =?UTF-8?q?=20and=20add=20org=20capture=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 9605dc0..dd39732 100644 --- a/config.org +++ b/config.org @@ -1694,9 +1694,20 @@ Source: [[https://gitlab.com/phillord/org-drill/][GitLab: phillord/org-drill]] #+begin_src emacs-lisp (use-package org-drill :after org + :custom + (org-drill-learn-fraction 0.4) + (org-drill-maximum-items-per-session 50) :config - (setq org-drill-learn-fraction 0.4) - (setq org-drill-maximum-items-per-session 50)) + (with-eval-after-load 'org-capture + (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 ** Org for blogging