louietan / anki-editor

Emacs minor mode for making Anki cards with Org
699 stars 87 forks source link

Feature quick field mappings #61

Open leoc opened 4 years ago

leoc commented 4 years ago

See #59

This should work with the latest develop.

leoc commented 4 years ago

Extracted the exporting to reuse your latest changes for the quick fields aswell.

orgtre commented 1 year ago

This commit in orgtre/anki-editor provides the functionality of this pull request. It also allows a more general logic:

The only thing that is missing (?) seems to be that as it's implemented in orgtre/anki-editor the field order of the note type controls which field goes to the heading and content. There is no custom option anki-editor-quick-field-mapping to control this, instead one can change the note type to change the mapping. If people want such an option or if there is something else we're missing at orgtre/anki-editor I'd welcome a pull request.