[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reset key bindings
From: |
Chet Ramey |
Subject: |
Re: reset key bindings |
Date: |
Fri, 3 Jan 2020 08:27:26 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 |
On 1/2/20 8:03 PM, Andrey Butirsky wrote:
> On 03.01.2020 03:57, Chet Ramey wrote:
>> On 1/2/20 7:02 PM, Andrey Butirsky wrote:
>>
>>>> If you want something internal to do it, maybe start by specifying the
>>>> behavior in some kind of detailed way. That way, we would have something
>>>> to discuss and determine whether it would be useful enough to implement.
>>>>
>>> FYI: Zsh has the desired facility:
>>>
>>> | bindkey [ options ] -d||
>>> || -d Delete all existing keymaps and reset to the default
>>> state.|
>>>
>>>
>> What does that implementation say about the answers to the questions I had
>> in my initial message? We can use those to set an initial set of
>> requirements.
>>
>>
> I'm really sorry since it was my request, but I'm afraid I'm not ready to
> look into the Zsh implementation right now.
I didn't mean for you to go cave-diving into the zsh implementation. I
hoped there was more detail in the zsh documentation.
If I had to guess, knowing that zsh's editor is tightly integrated with the
shell, I would say that zsh's idea of the `default' is, in readline and
bash terms, after the shell-specific bindings are installed.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/