-
Notifications
You must be signed in to change notification settings - Fork 87
Make "<prefix> C-h" display which key and prompt for command at the same time #351
Comments
Currently, I'm achieving this feature by means of the following code:
Basically, if I'm showing this code just to give an idea of the feature. It seems to work but since the package does contain some timer based mechanisms i don't know if there are some gimmicks that I'm ignoring right now by displaying the which key windows instantly. |
You're right that the behavior of The original purpose of using That being said, I may be able to help if you can describe more precisely what you are trying to achieve with this option. |
Thank you for your help. I'll try to describe my issue with some gifs, I hope to be clear. I do use I often would like to invoke Here is what happens when I try to type I don't know why the which key window appears earlier than expected, but this leads the This is the bahaviour of This way, |
Let's assume the following parameters:
If you call - for example -
C-c C-h
two different things may happen: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.
The text was updated successfully, but these errors were encountered: