Use vim to rapidly write textfiles immediately importable into anki(1).
Project description
Overview
Use vim to rapidly write textfiles immediately importable into anki(1).
Requirements
Python >= 2.7 or Python >= 3.4
Installation
Simply run:
pip install AnkiVim
You can verify that this step succeeded and see available options by running:
anki-vim -h
Generating Anki Cards
Call:
anki-vim 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: $HOME/.ankivim/decks/DECKNAME/raw_cards.txt. (alternatively, you can specify a custom location for your decks using the –deckpath option of script/anki-vim.py.)
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)
Importing into Anki
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
Supports:
Latex commands of any kind
html tags of any kind (images can be included this way as well)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file AnkiVim-1.5.3.tar.gz
.
File metadata
- Download URL: AnkiVim-1.5.3.tar.gz
- Upload date:
- Size: 393.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a26ac1a64fa627c98d77069afed139a53d12d392c85e102dab4011f98ee2372f |
|
MD5 | fd99b455158973c9091cbb2fc5ccbaa2 |
|
BLAKE2b-256 | 2dcaa61b81f018bc1e8fc495a6435356d383842923017815792af8ea518691f3 |
File details
Details for the file AnkiVim-1.5.3-py3-none-any.whl
.
File metadata
- Download URL: AnkiVim-1.5.3-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f37e5e579625c05226138bd570e06484263850f75a92cb61275bd6e837190898 |
|
MD5 | 4366551fb4364ce0cee04d8798661509 |
|
BLAKE2b-256 | 6d56729a9d1c1c42fbceebc82ad9cf992fdf531dcd4596b011e42368986e8aea |