How would I map
Esc in zsh?
I'm trying to recreate a key-mapping that I have setup in vim, where I have
jj mapped to
ESC so that whenever I double-press
j, it sends the an
<Esc> to vim--allowing me to enter normal mode with greater convenience.
I've already tried
bindkey 'jj' ^[, and I'm about to try
bindkey 'jj' ^[[, but I doubt that it'll work. I also checked the list of commands provided by zsh in normal mode, but I didn't see anything that contained
^[ characters in my
~/.zshrc file are actual hard coded escapes; not just the characters