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

Re: $KEYMAP in command, isearch and menuselect



On 23 August 2010 12:01, Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> On Mon, 23 Aug 2010 10:36:38 +0100
> Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
>> Basically, the only thing you can do
>> is bind one of the names listed in the documentation to a different
>> key. The documentation should probably be clearer the behaviour isn't
>> extensible.  Internally, this is because those modes are each
>> implemented within a single function, not by looking up function
>> behaviour like standard editing behaviour.
>
> (Moved to zsh-workers.)
>
> This might clear up the documentation a bit.  isearch already has a note
> about limitations thought it doesn't explicitly say you can't extend the
> list of commands.
>
> I'm now scratching my head over this in the isearch doc:
>
>  Any multi-character string that is not bound to one of the above
>  functions will beep and interrupt the search, leaving the last found
>  line in the buffer. Any single character that is not bound to one of
>  the above functions, or tt(self-insert) or tt(self-insert-unmeta),
>  will have the same effect but the function will be executed.

fwiw, git blame says this paragraph comes from the "Initial revision"
commit from 1999.

-- 
Mikael Magnusson



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