aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-08-31 11:18:21 -0400
committerDaniel <[email protected]>2024-08-31 11:19:48 -0400
commit8b7f2d9f2d8136c647eccb82dff13148d8e2ad1a (patch)
treee10432f5fb0fb3c3c65ac3f3579844b7b9c59fde /bard-emacs-modules
parente5484ea4a0f63c28ea97cec82d748084bc78ff2e (diff)
ensure package and add keybind
Diffstat (limited to 'bard-emacs-modules')
-rw-r--r--bard-emacs-modules/bard-emacs-anki.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/bard-emacs-modules/bard-emacs-anki.el b/bard-emacs-modules/bard-emacs-anki.el
index a954346..10d0238 100644
--- a/bard-emacs-modules/bard-emacs-anki.el
+++ b/bard-emacs-modules/bard-emacs-anki.el
@@ -1,9 +1,11 @@
(use-package anki-editor
+ :ensure t
:after org
:bind (:map org-mode-map
("C-c M-i" . bard/anki-editor-cloze-region-auto-incr)
("C-c M-I" . bard/anki-editor-cloze-region-dont-incr)
- ("C-c M-r" . bard/anki-editor-reset-cloze-number))
+ ("C-c M-r" . bard/anki-editor-reset-cloze-number)
+ ("C-c M-p" . anki-editor-push-notes))
:hook (org-capture-after-finalize . bard/anki-editor-reset-cloze-number) ; Reset cloze-number after each capture.
:config