vim-poweryank
vim-poweryank copied to clipboard
can it be used to replace vim's internal cut and yank?
i'd like to make all y...
, d...
and all other clipboard related commands work through ssh. can it be achieved?
That's good question. I also want such feature.
But, there are some problem like we cannot send arbitrarily large text to terminal through OSC52 (there is a character limit).
Maybe we can create mappings which just give up using OCS52 in such cases (with some messages). I'll try to create it.
hello, any progress on this :) ? Can we have a wip workaround in the mean time? regards.
I'm also interested in having at least "* and "+ operate with osc52.
I've added this autocmd to my ~/.vimrc:
augroup ssh_clipboard
au!
au TextYankPost * call poweryank#opfunc_osc52(visualmode())
augroup END
So whenever I yank with y...
, or d...
, the plugin gets executed and the buffer is copied back over ssh.