How can I bin a key sequence to ESC in zsh?
I wish to do the following
bindkey "jj" <esc>
but cannot find the code for the Esc key
Thanks
Esc is ASCII 0x1B, so all of \e, \x1b or \033 should work.
0x1B
\e
\x1b
\033
This is a collaboratively edited question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
Got a question about the site itself? meta is the place to talk about things like what questions are appropriate, what tags we should use, etc.
about » faq » meta »
tagged
asked
11 months ago
viewed
129 times
active
Get the weekly newsletter!
see an example newsletter