ohmyzsh/plugins/copybuffer
..
copybuffer.plugin.zsh
README.md

copybuffer plugin

This plugin adds the ctrl-o keyboard shortcut to copy the current text in the command line to the system clipboard.

This is useful if you type a command - and before you hit enter to execute it - want to copy it maybe so you can paste it into a script, gist or whatnot.

plugins=(... copybuffer)