I'm relatively new to Emacs, so apologies if I'm using any terminology incorrectly.

I have installed Doom Emacs in Evil mode, so command shortcuts are commenced with SPC instead of Meta. When entering a key sequence, a menu pops up to show me the available options for the next key (I believe this is provided by the which-key package).

What I would like to be able to do is to go back a step if I haven't found what I'm looking for in the current "menu", rather than having to abort and start from the beginning with a new key chord.

E.g.: I enter SPC h d (help -> doom). How can I delete the d to return to the first level menu, as opposed to starting again with ESC SPC h?

  • Also key chord is not correct word for this question(Since there is key-chord package) If you can change those with key binding this can be better. Commented Jan 8, 2021 at 18:49

1 Answer 1


I have just found this from its Github page.


Not one key but, If you press also for C-h u you can go for previous state.

which-key-undo can be used to undo the last key press when in the middle of a key sequence.

  • Thanks, I guess I can rebind it now that I know the command.
    – JBentley
    Commented Jan 8, 2021 at 19:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.