Rebind copying selected text in zsh

Viewed 12

I want to bind copying selected text in terminal to another key (besides the usual Cmd+C). It seems I can do that only when the text is selected in the prompt by calling zsh's copy-region-as-kill. However, if text is selected outside the prompt (using the mouse) there seems to be no way to obtain that text.

Is there a way to do this?

0 Answers
Related