Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

issue with cursor down bindkey setting



Hi!

I have some problems setting the arrow keys inside zsh. What I do is:
$ bindkey "$terminfo[cuu1]" history-substring-search-up
$ bindkey "$terminfo[cud1]" history-substring-search-down

The first command works as expected, the second does not, because $terminfo[cud1] is bound to ^J, not to ^[[B

$ bindkey "$terminfo[cuu1]"
"^[[A" history-substring-search-up
$ bindkey "$terminfo[cud1]"
"^J" history-substring-search-down

So where is the assoziative array terminfo set? Can I change that?

Thanks in advance
Leander Jedamus




Messages sorted by: Reverse Date, Date, Thread, Author