Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
issue with cursor down bindkey setting
- X-seq: zsh-users 16752
- From: Leander Jedamus <ljedamus@xxxxxx>
- To: zsh-users@xxxxxxx
- Subject: issue with cursor down bindkey setting
- Date: Thu, 09 Feb 2012 19:37:03 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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