Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Make "<prefix> C-h" display which key and prompt for command at the same time #351

@antrmn

Description

@antrmn

Let's assume the following parameters:

(setopt which-key-show-early-on-C-h t 
             which-key-use-C-h-commands t)

If you call - for example - C-c C-h two different things may happen:

  1. The "which key" panel is displayed
  2. The "which key" panel is displayed and it prompts for a command in the which-key-C-h-map

The outcome may vary depending on whether the which-key panel is displayed before (case 2) or after (case 1) C-h is typed.

This inconsistency can become frustrating when one wants to quickly use different keybinding-help related commands (like describe-prefix-bindings, embark-prefix-help-commands or some custom defined command).

I think that introducing a choice to prompt for a command without hiding the which key panel would be really useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions