Add keymap for anki-editor-mode
Resolves louietan/anki-editor#79 and allows local binding of, for example, the transient interface (orgtre/anki-editor#13).
This commit is contained in:
parent
42e0121e84
commit
bc7dd603e6
1 changed files with 1 additions and 0 deletions
|
@ -938,6 +938,7 @@ Return a list of cons of (FIELD-NAME . FIELD-CONTENT)."
|
|||
(define-minor-mode anki-editor-mode
|
||||
"A minor mode for making Anki cards with Org."
|
||||
:lighter " anki-editor"
|
||||
:keymap (make-sparse-keymap)
|
||||
(if anki-editor-mode (anki-editor-setup-minor-mode)
|
||||
(anki-editor-teardown-minor-mode)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue