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

Re: zle_highlight and yank



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