[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reset key bindings
From: |
Andrey |
Subject: |
Re: reset key bindings |
Date: |
Fri, 03 Jan 2020 16:41:17 +0300 |
User-agent: |
K-9 Mail for Android |
On January 3, 2020 4:27:26 PM GMT+03:00, Chet Ramey <address@hidden> wrote:
>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.
Probably yes because I didn't meet any other kind of defaults other than
zsh-specific one yet. Not sure if ZLE (Zsh Line Editor) lib has it's own
defaults..
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.