[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improve brackted-paste docs
From: |
Chet Ramey |
Subject: |
Re: Improve brackted-paste docs |
Date: |
Wed, 2 Mar 2022 16:31:11 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
On 2/27/22 9:05 AM, Karl O. Pinc wrote:
> On Sat, 26 Feb 2022 15:34:52 -0800
> Frederick Eaton <frederik@ofb.net> wrote:
>
>> The original "insert each paste into the editing buffer as a single
>> string of characters" hints at the fact that you can "undo" a
>> bracketed paste in one keystroke; but that point seems obscured in
>> your version. Maybe we can make it more explicit?
>
> I am unaware of this. What keystroke and why does it work?
In readline, editing commands can be `undone' by running the `undo'
command, which is usually bound to ^_ in emacs mode. Since the
bracketed paste text is inserted as a unit, it's treated as a single
editing command that can be undone.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/