How can one map the home, end, ctrl-left, etc keys in zsh? In the version installed with Fedora, these keys are not active. In the zsh FAQ
, it gives instructions for the regular arrow keys:
bindkey "$(echotc kl)" backward-char
bindkey "$(echotc kr)" forward-char
bindkey "$(echotc ku)" up-line-or-history
bindkey "$(echotc kd)" down-line-or-history
So it appears to be just a matter of getting the correct codes generated by the above-mentioned keys. Anyone know how to do it?