Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: highlight pasted text
- X-seq: zsh-workers 36160
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: highlight pasted text
- Date: Fri, 14 Aug 2015 03:38:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1439516324; bh=BlO+ILDTy69OP1pPqUkF+84dQ/eo5EA/VDMVIArTiZ4=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=heXH/dHsxrwFy9HZU0stynVCU7XnkPZduH9r+YDe7VHyo53dj8Ab+rYTfo7FFgt05dKp+2O63FvDAJ4murPZWWjN9yoCLfFUzkT6IxtDK99Vfy/TngV6fhNAwdF3OnrTQKMtzzp29lM7Irovq4DwmJMlUFaTaF3ENd4Pa//vmipaLhgs8nmMiYi9AgQFfW5vQmsjAcFYtpad+flUM3con+hBgm0nLtgydVnd8zJBSgzRVQFxltPSgWnrd7Ujv54vAvbmgca4pEKSMuVUC87v2wbZnjbtvk2GAd8NC/OzDe6RHYc1ZIi0M6UK2gyb0ZFMJpN3VsJw0qkjqpY3VRAFFQ==
- In-reply-to: <20150808215121.GA2064@tarsus.local2>
- 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: <mo6325$r5k$1@ger.gmane.org> <7277.1437023995@thecus.kiddle.eu> <150716131504.ZM18155@torch.brasslantern.com> <modfdp$crn$1@ger.gmane.org> <150718110859.ZM4405@torch.brasslantern.com> <19088.1437274234@thecus.kiddle.eu> <mog49m$8en$1@ger.gmane.org> <6704.1437328639@thecus.kiddle.eu> <20150808215121.GA2064@tarsus.local2>
On 8 Aug, Daniel Shahaf wrote:
> Over here I'm using zle_highlight=(paste:standout). It's unobtrusive,
> doesn't munge the pasted text, and on at least one occasion reminded me
> to invoke <accept-line> after pasting.
>
> Maybe set that by default instead?
I don't have a strong opinion on this. I didn't want to impose anything
and it seemed an easy thing to change later.
Standout is also used for an active region by default and this isn't the
region. For a basic terminal there are limited attributes available:
with the region it can be confusing if your terminal renders your cursor
as standout as doubled standout puts things back to normal. I use
subtler colours if I've got an 88 or 256 colour terminal which would be
my normal environment and disable it otherwise.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author