[Grml] zsh history completion via arrow keys

Frank Terbeck ft at grml.org
Wed Jan 23 09:43:17 CET 2013

John wrote:
>> In your terminal, at the zsh prompt, hit Control-v followed by the
>> up-cursor key.  What does that insert into the command line?
> Dunno how I missed this post.  The output you requested:
> ^[[A         (up arrow)

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

  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.)

Regards, Frank

More information about the Grml mailing list