Home

Awesome

flashcards.nvim

A Neovim Lua plugin for creating and studying flashcards.

NOTE: If you were using this plugin before the most recent commit then unfortunately your flashcards will no longer work because of the restructuring of how flashcards are stored. I apologize.

Installing

You can install this plugin using packer.nvim:

require('packer').startup(function(use)
    use { 'alex-laycalvert/flashcards.nvim' }
end)

After installing the plugin, add this to your init.lua file:

require('flashcards').setup({
    -- ... your configurations
})

Configuration

Subjects

Subjects are collections of flashcards and are stored as directories of json files representing your flashcards in your flashcards dir. When openening Flashcards, a browse subjects menu will open allowing you to create, open, edit, and delete your subjects.

Default Mappings:

NOTE: If you open the subjects browse menu while your flashcards are open and you delete the subject you are currently on, you will need to quit and reopen flashcards to avoid a file not found error.

Flashcards

Flashcards can be viewed by opening a subject and can be created, edited, flipped, and deleted. You can toggle whether you know cards or not and they will be reflected on the progress for the subject.

Default Mappings: