How to bind <ESC> to exit autocomplete and enter vi mode? #158
Answered
by
marlonrichert
vulns-are-features-too
asked this question in
Q&A
-
I want |
Beta Was this translation helpful? Give feedback.
Answered by
marlonrichert
Jan 1, 2021
Replies: 1 comment
-
If by "exit autocomplete" you mean "exit the completion menu" and by "vi mode" you mean bindkey -M menuselect '^[' .vi-cmd-mode |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vulns-are-features-too
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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