Skip to content

How do I make Escape exit the menu and discard my selection? #328

Answered by marlonrichert
K4LCIFER asked this question in Q&A
Discussion options

You must be logged in to vote

Just add this to your .zshrc file:

bindkey -M menuselect -s '^[' '^G^_'

Note that this won't work correctly when you're in the middle of doing a multi-select.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marlonrichert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants
Converted from issue

This discussion was converted from issue #325 on August 19, 2021 18:58.