Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
I thought there used to be a way with Zsh on the OSX where you could view a live print out of keys to bind event ids. Something like
showkey -a where it'll print out the bind key combo you just pressed. I tried the showkey brew package but that didn't seem to work.
I'm trying to fix my alt+left&right arrow word jumping sequence when using a windows keyboard with my Mac. I can't find the correct character for alt though.
zle builtin, will show you the current bindings, discussed in detail in
man zshzle. It allows selection between a number of builtins;
emacs, numerous flavours of
xev will show codes for keypresses as they happen, though it's quite basic and probably won't show combinations as you might be expecting. IIRC this may be part of the XQuartz package. https://www.xquartz.org
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged terminal keyboard zsh .