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

Re: PATCH: highlight pasted text



On Jul 23,  8:23am, Oliver Kiddle wrote:
} Subject: Re: PATCH: highlight pasted text
}
} Mikael Magnusson wrote:
} > Is there any way to use any of this (the highlighting) if you wrap the
} > widget to manipulate the text first?

Like this:

   zle yank
   zle -R
   zle read-command && zle $REPLY

} Apart from using a bindkey -s sequence that finishes with a widget that
} has ZLE_YANK set.

It could be enabled by poking into region_highlight if the yankb / yanke
internal variables were exposed via zsh/zleparam.



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