
23 Jan
2013
23 Jan
'13
9:09 p.m.
John wrote: [...]
Here is the output of the command you asked about:
% bindkey '"^[[A" up-line-or-search
So, `up-line-or-search' is indeed active already. Isn't this what you asked for? From the manual:
up-line-or-search Move up a line in the buffer, or if already at the top line, search backward in the history for a line beginning with the first word in the buffer.
If called from a function by the zle command with arguments, the first argument is taken as the string for which to search, rather than the first word in the buffer.
Regards, Frank