/key-quiz

Key Quiz game for GNU Emacs

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

key-quiz

MELPA Build Status License

Key Quiz is a game for GNU Emacs (26+) where the player must type in key sequences corresponding to different Emacs commands, chosen at random.

The game includes a variant, called "reverse mode", where the player is given a key sequence and then must answer with the corresponding command.

Installation

You can install Key Quiz by using the package-install command (make sure MELPA is included in your package sources):

M-x package-install [RET] key-quiz [RET]

Alternatively, you can just add key-quiz.el to your load-path.

Playing

To play Key Quiz, use M-x key-quiz [RET].

By default, Key Quiz will quiz the player on keys set in Fundamental mode. This can be changed by setting the variable key-quiz-use-mode to another major mode command, such as 'org-mode. Other aspects of the game can also be customized by configuring variables; see M-x customize-group [RET] key-quiz [RET].

You can also play Key Quiz by calling the key-quiz function directly. By doing this, it is possible to pass a custom list of key-command pairs from which the player will be quizzed with. For example:

(key-quiz nil '(("C-x f b"   . "foo-bar")
                ("C-c b f f" . "bar-foo-foo")
                ("C-c q b"   . "quux-baz")
                ("C-x C-f"   . "find-file")
                ("C-c q f"   . "quuz-foo")
                ("C-c b q"   . "bar-quuz")))

More detailed instructions can be found at C-h f key-quiz [RET].

Screenshots

Key Quiz

Key Quiz

Alternatives

License

Distributed under the GNU General Public License, version 3.