[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] bindings: at a Yes-No prompt, accept also ^N an
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [PATCH] bindings: at a Yes-No prompt, accept also ^N and ^Q for "No" |
Date: |
Wed, 15 May 2019 19:55:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Op 14-05-19 om 03:11 schreef Brand Huntsman:
> On Mon, 13 May 2019 19:48:36 +0200 Benno Schulenberg <address@hidden>
> wrote:
>> When wanting to exit after having modified a buffer by mistake, I don't want
>> to politely answer a question by typing precisely an unmodified N, I want to
>> give a command: ^N, meaning *No!*. Or seen another way: I don't want to be
>> obliged to let go of the Ctrl key before typing N.
>
> What about those who don't want to let go of Ctrl to type an unmodified Y? It
> doesn't make sense to support one but not the other.
Yeah, could do that. Didn't think of it, because my way of exiting nano is
either ^S ^X (previously ^O ^M ^X), or ^X N, so the only time I type something
after a ^X is when it is "No". But indeed, maybe there are people who were
and still are in the habit of typing ^X Y <Enter> to save the buffer and exit.
I will add the ^Y in a separate commit.
Benno
signature.asc
Description: OpenPGP digital signature