You are viewing the documentation for the develop branch. The documentation for the release version is here .

Table of Contents

helpful layer

Table of ContentsClose

1. Description

This layer replaces the existing emacs related help buffers with more detailed ones.

1.1. Features:

  • Better help buffers with helpful for emacs related buffers
  • Source code shown implicitly in help buffer for all lisp objects
  • More detailed descriptions in the emacs specific function, variable and key help buffers
  • Better formatted elisp docstrings

2. Install

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

3. Key bindings

3.1. Global bindings

This layer aims to silently replace the standard emacs help key bindings with improved versions. So it does not introduce new bindings. For the sake of completion you can find below all keys which are replaced by this layer.

Key binding Description
SPC m h h Open helpful buffer for item under point in elisp mode
SPC h d k Open helpful buffer for key binding
SPC h d f Open helpful buffer for any callable object
SPC h d v Open helpful buffer for variable
C-h k Open helpful buffer for key binding
C-h f Open helpful buffer for any callable object
C-h v Open helpful buffer for variable

3.2. Helpful mode bindings

Additional key bindings available in the helpful-mode buffers.

Key binding Description
SPC m q Close all helpful-mode buffers
gr Reload the buffer (e.g. to see new variable value)
o Open link with Avy
q Close window (buffer is kept in background)

Author: root

Created: 2022-05-24 Tue 11:51

Validate