lirve.el/README.md
2024-02-28 09:58:37 +01:00

1.4 KiB

Lirve: Learn irregular English verbs in Emacs

Lirve helps you learn irregular verbs using the spaced repetition technique. In other words: Lirve remember your mistakes and repeat the challenge in the future.

Demo

Install

You need to have straight installed.

Then, add it to your init.el.

(use-package lirve
  :straight (:host github :repo "tanrax/lirve.el" :files ("lirve-verbs.el" "lirve.el"))
  :ensure t)

And add the following to your init.el:

(require 'lirve)

Configure (Optional)

Shows the translation of the verb when resolving or failing.

Demo translation

Only available in Spanish (at the moment).

(setq lirve--set-translation 'es)

I also recommend creating a function to make it easier to remember the command.

(defun learning-irregular-verbs-in-english ()
  "Start Lirve."
  (interactive)
  (lirve))

Usage

M-x lirve

Controls

Key Description
TAB Move to the next field
S-TAB Move to the previous field
RET Click on the button

Collaborate

If you want to add more languages, make a PR with the translations in lirve-verbs.el.

For example, the verb beat in Italian and Spanish:

(
    (infinitive . "beat")
    (simple-past . "beat")
    (past-participle . "beaten")
    (translations
        (es . "golpear")
        (it . "colpo")))