Use vim to rapidly write textfiles immediately importable into anki(1).
- Python >= 2.7 or Python >= 3.4
- Call: python anki-vim.py DECKNAME
- vim starts with a preformatted card. Start typing the front part of the anki card below "QUESTION", then fill out the back below "ANSWER". (NOTE: It is important to leave the QUESTION and ANSWER headers intact throughout)
- save the file and exit the editor. (vim: ":wq") => the card contents are saved to decks/DECKNAME/raw_cards.txt
- editor starts right back up to generate a new card for the same deck => Iterate 2.-4. until all cards are generated.
- to stop the card creation process, simply close your editor ( for vim: ":q" or ":q!", for additional information see this book)
Procedure to import anki cards generated by this tool into anki:
- Open Anki
- Generate the deck to import into or click on an existing deck
- Click import and navigate to "/path/to/anki-vim/decks/DECKNAME/raw_cards.txt"
- check "allow html in fields"
- Done
- Latex commands of any kind
- html tags of any kind (images can be included this way as well)