Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle_highlight and yank
- X-seq: zsh-workers 37351
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: "Yuri D'Elia" <wavexx@xxxxxxxxxx>
- Subject: Re: zle_highlight and yank
- Date: Tue, 8 Dec 2015 22:28:49 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aTAyZ2Go+Id68cV17UEmb7CDfPpVQWy90NlZvUR+WuE=; b=ZHFze8PkEsZroe2QBH5zjf1qnC6nZ4RnkaLMhRS+GQwVCtZx4Y0YqugRaSnDz4KAvM BnakdeNPrzVO/GB/mU3cruYjg7huNfoHuV6QP9JB0+ryy/emrk3ZAIzPDkrnPTIcrbdp 0k4Sy0Z+SxMfnddEL0jfCGk18/N0CFdO/1pfnhTArcTfekR+yzf6x0QrrjuUCmd1Wq33 c7vP9YqybAc/Elm2B/051h3Zibt1TN9lzw57J5NW1S76iOfxSrta9agjxI8gv0/J6yLJ YLai3bMxcMBklP7q1+MUgENyTA+HBQil2gFHLdckEaTO1HPPVwXX4uMp6nCL5k4CQNby XPuw==
- In-reply-to: <n47fmi$2v1$1@ger.gmane.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <n47fmi$2v1$1@ger.gmane.org>
On Tue, Dec 8, 2015 at 9:48 PM, Yuri D'Elia <wavexx@xxxxxxxxxx> wrote:
> Yanking text seems to ignore any setting in zle_highlight. This is
> confirmed by setting zle_highlight=(none) and seeing that yank still
> highlights the text in standout.
>
> I would have expected it to respect the paste: style.
>
> Or maybe it's a good idea that it doesn't, to differentiate between a
> terminal paste and a regular one. But then again, I'd like a yank: style
> in there.
I guess it's a bug that (none) doesn't disable the paste: style, but
you can explicitly put in paste: to disable it if you want, eg
zle_highlight=(none paste:)
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author