[Grml] zsh history completion via arrow keys

John da_audiophile at yahoo.com
Wed Jan 23 20:59:33 CET 2013


> Well, in that case, this binding should be invoked and things should

> work:
> 
>   bindkey '\e[A'  up-line-or-search
> 
> 
> To make sure, what does this yield?
> 
>   % bindkey '<CTRL-v><Up-Arrow>'
> 
> (Press the actual keys, don't just paste that line.)


Hello Frank - Here I have removed the fishshell mod that I posted and am back to the modifed grml config.  Recall that I modified it per your suggestion to add the following to /etc/zsh/zshrc

bindkey '\e[A'  up-line-or-search       # cursor up

bindkey '\eOA'  up-line-or-search
bindkey '\e[B'  down-line-or-search     # <ESC>-

Here is the output of the command you asked about:

% bindkey '"^[[A" up-line-or-search

Thank you!


More information about the Grml mailing list