justbur / emacs-which-key

Emacs package that displays available keybindings in popup
GNU General Public License v3.0
1.73k stars 87 forks source link

Setting which-key-show-operator-state-maps to true "breaks" outer and inner evil maps #345

Open rcoacci opened 1 year ago

rcoacci commented 1 year ago

After doing (setq which-key-show-operator-state-maps t), if you wait for which-key popup to show after a d for example, you have to press 'a' (for outer) or 'i' (for inner) twice: the first cancels the popup and the second actually gets to the chosen key map (and shows the which-key popup if which-key-allow-evil-operators is t).

Perhaps you can add a and i as prefixes, and chain the popups?

Not sure if it's relevant, but this happens using doom-emacs.

magthe commented 1 year ago

I see this behaviour in non-doom as well.

On top of what's reported above I see the same with simple movements, i.e. pressing d, then waiting for the popup to show, then pressing e, only closes the popup and I have to press e again.