This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/command-log/README.org

46 lines
1.7 KiB
Org Mode
Raw Normal View History

#+TITLE: command-log layer
2019-05-02 21:49:30 +00:00
#+TAGS: layer|tool
2019-05-07 20:05:06 +00:00
* Table of Contents :TOC_5_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
2017-05-22 14:16:12 +00:00
- [[#install][Install]]
- [[#command-log][Command log]]
- [[#keycast][Keycast]]
2017-05-22 14:16:12 +00:00
- [[#key-bindings][Key bindings]]
* Description
This layer adds handy commands for demonstrating Spacemacs.
** Features:
- Support for logging all entered keys and triggered commands in a designated buffer via [[https://github.com/lewang/command-log-mode][command-log-mode]].
- Experimental support for logging the last command directly in the mode line via [[https://github.com/tarsius/keycast][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 |