Skip to content

How to bind <ESC> to exit autocomplete and enter vi mode? #158

Discussion options

You must be logged in to vote

If by "exit autocomplete" you mean "exit the completion menu" and by "vi mode" you mean vi-cmd-mode, then the following should do the trick:

bindkey -M menuselect '^[' .vi-cmd-mode

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChocolateOverflow
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