diff options
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -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 |