spacemacs/layers/+tools/command-log
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
README.org [command-log] Add experimental support for keycast 2021-01-24 22:48:04 +01:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

command-log layer

Description

This layer adds handy commands for demonstrating Spacemacs.

Features:

  • Support for logging all entered keys and triggered commands in a designated buffer via command-log-mode.
  • Experimental support for logging the last command directly in the mode line via keycast.
  • Provides the best way to demonstrate the connection between keystrokes and commands in Emacs.
  • Provides an easy way to create command logs for training classes.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add command-log to the existing dotspacemacs-configuration-layers list in this file.

Command log

This is the default way to demonstrate Spacemacs commands. It works by opening a new buffer which logs all executed commands in the current window.

Keycast

This is an experimental addition to this layer which will show the last used keystroke and command in the modeline. However as we support multiple modelines it may require some tweaking of keycast-insert-after which will be defaulted to %e for now.

If you have a working configuration for your modeline feel free to share it with the rest of the project.

Key bindings

Key binding Description
SPC a t l l Toggle the command log
SPC a t l k Toggle keycast