Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Shift-Insert overwrites ZLE CUTBUFFER



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