ZSH Bindkey Reverse Lookup

Can someone tell me which key sequence is for them? I know that if I do catand press keystrokes, I can get the code for it, but how can I cancel this process to find out what needs to be pressed to start a 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
+5
source share
1 answer

So, you can answer your question if you can enter bindkey from the command line?

In any case [, this is the Esc key, and '[SD'is the plain text as soon as they appear.

"enter" Esc escape- char, Ctrl-V. , Ctrl, v, THEN Esc,

( , , , - bindkey)

- , , emacs .

, .

+1

All Articles