summaryrefslogtreecommitdiff
path: root/jakob.org
diff options
context:
space:
mode:
Diffstat (limited to 'jakob.org')
-rw-r--r--jakob.org17
1 files changed, 15 insertions, 2 deletions
diff --git a/jakob.org b/jakob.org
index 6445a7c..de37f0d 100644
--- a/jakob.org
+++ b/jakob.org
@@ -1226,7 +1226,20 @@ the SRS algorithm.
#+BEGIN_SRC elisp
:init
- (setq org-drill-forgetting-index 100))
+ (setq org-drill-forgetting-index 100)
+#+END_SRC
+
+Set up a keybinding for getting quickly starting a drill session.
+
+#+BEGIN_SRC elisp
+ :bind
+ ("<f11>" . (lambda ()
+ (interactive)
+ (let* ((drill-directory (concat notes-directory "/" "Drill"))
+ (path (-first #'(lambda (path) (s-ends-with-p ".org" path))
+ (directory-files drill-directory t))))
+ (find-file path)
+ (org-drill)))))
#+END_SRC
**** Workaround
@@ -1875,7 +1888,7 @@ Set up [[company]].
(setq jedi:complete-on-dot t)
(setq jedi:tooltip-show nil)
- :config
+ :init
(when-all-loaded company
(add-to-list 'company-backends 'company-jedi)))
#+END_SRC

© 2015 - 2026 Jakob L. Kreuze