Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Shift-Insert overwrites ZLE CUTBUFFER
- X-seq: zsh-users 22029
- From: lolilolicon <lolilolicon@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Shift-Insert overwrites ZLE CUTBUFFER
- Date: Wed, 26 Oct 2016 00:28:41 +0800
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=K65YrEQZ/SOld9XQ12rNYlbxlrWJWW1gaEzJ9pKFxXE=; b=uA3gpgyXC66GsGcFZQfQctz8CvMvUYfoL0AXCRn7hohsv15FULTAWqu+cdUOjoJNjO fuXp+Rgo+EXhkHcXXI/xcQZtAqIw/kKWF3it08X4x5eYQU/lgxqTgIuVuH+zKIFHu+Fc dFtDyuBtwIM9ogZdAVHWs81cP22VVJx6fsw/PHugkdCVVfsMXHNcEJks56lwGRYND3VU SKLsZ1XGj1F8fVa2dt74oXeXnYgaiGNRj6UUhXpZC8Zaes1Ku4fag3YUYM5gogHTBFa5 0Hk5i9D19PR+rPW6H7zQq69+K43NmxYj0sS7XkqLuIxpXNgTH4t130ncjhKkxKUrlZdg T4Gw==
- In-reply-to: <161025091249.ZM7232@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAMtVo_PG_fd62V1FZ4r7fRUragzzS6H4McN5sO1=hhY=6DR6Yg@mail.gmail.com> <161025091249.ZM7232@torch.brasslantern.com>
On Wed, Oct 26, 2016 at 12:12 AM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Oct 25, 8:46pm, lolilolicon wrote:
> }
> } I use Shift-Insert to paste the X PRIMARY selection in terminal.
> } But when I use Shift-Insert, the ZLE CUTBUFFER is also overwritten.
> } Is there a way to disable this?
>
> This is a side-effect of the "bracketed paste mode" feature that was
> added about a year ago.
Oh yes bracketed-paste, that is a good feature.
>
> The previous contents of the cutbuffer are pushed onto the kill ring,
> so you can retrieve it by following <^Y> with <\M-y> (or <ESC y>).
Thank you for the tip!
>
> There's currently no easy way to change the cutbuffer behavior without
> disabling the rest of the bracketed-paste behavior.
That's a shame.
Is it technically difficult to do? Would there be an issue if zsh just
popped the killring automatically?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author