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

Re: PATCH: highlight pasted text



On 19/07/15 19:57, Oliver Kiddle wrote:
> Yuri D'Elia wrote:
>> But chopping off that newline if it's the last character... hmm, I still
>> think that's a good idea.
> 
> How about the following? It only strips the newline when pasting at
> the end of the buffer with region inactive and only after putting the
> unadulterated string in the cut buffer.

I like it, that's a nice touch.

To reply to Daniel as well, I'm ambivalent about the behavior.
If you feel that's "not right" (and I see the reasons - no need to
elaborate for me), I'm equally fine with literal pasting, so I cannot
help you decide here.




Messages sorted by: Reverse Date, Date, Thread, Author