Can anyone tell me what the key sequence is for these?
I know if I do cat
and type key presses I can get the code for it but how do I reverse that process to figure out what to press for beginning-of-line, for example?
bindkey '^[^[[D' backward-word
bindkey '^[^[[C' forward-word
bindkey '^[[5~' up-line-or-history
bindkey '^[[A' up-line-or-search
bindkey '^[[B' down-line-or-search
bindkey '^[[6~' down-line-or-history
bindkey '^[[5D' beginning-of-line
bindkey '^[[5C' end-of-line
bindkey '^[[3~' delete-char
bindkey '^?' backward-delete-char
bindkey '^[^N' newtab
bindkey '^[[Z' reverse-menu-complete