Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: buggy paste highlight with backward-extend-paste
- X-seq: zsh-workers 37358
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: buggy paste highlight with backward-extend-paste
- Date: Wed, 9 Dec 2015 10:13:57 +0100
- In-reply-to: <CAH+w=7YXVrmj5=tRm1V1XxH8B4T_DZ-gfKY7s0d3zzQwHPe-Tg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20151209021629.GA26831@zira.vinc17.org> <CAH+w=7YXVrmj5=tRm1V1XxH8B4T_DZ-gfKY7s0d3zzQwHPe-Tg@mail.gmail.com>
On 2015-12-08 21:30:17 -0800, Bart Schaefer wrote:
> On Tue, Dec 8, 2015 at 6:16 PM, Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> >
> > zstyle :bracketed-paste-magic paste-init backward-extend-paste
> >
> > % echo foo
> >
> > with the cursor just after "foo", and paste "a", then the whole
> > "fooa" gets highlighted instead of just "a".
>
> That's intentional, not a bug. The paste was extended backward.
But I don't want to extend the paste backward!
Note that I have the zstyle above just to make the paste correct in
the following case:
# Helper/example paste-init for exposing a word prefix inside PASTED.
# Useful with url-quote-magic if you have http://... on the line and
# are pasting additional text on the end of the URL.
#
# Usage:
# zstyle :bracketed-paste-magic paste-init backward-extend-paste
But affected the highlight is not expected.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author