vim-poweryank provides powerful yank utilities.
Copy text by sending string to the terminal clipboard using the OSC 52 escape sequence, as specified in http://invisible-island.net/xterm/ctlseqs/ctlseqs.html section 'Operating System Commands', Ps => 52.
It can be used to copy text over SSH.
map <Leader>y <Plug>(operator-poweryank-osc52)
and type <Leader>y{motion}
to copy {motion} text.
See doc/poweryank.txt for more detail.
haya14busa (https://github.com/haya14busa)