ojroques / vim-oscyank

A Vim plugin to copy text through SSH with OSC52
BSD 2-Clause "Simplified" License
618 stars 38 forks source link

Getting it to work in urxvt #4

Closed mgarort closed 3 years ago

mgarort commented 3 years ago

Hi,

I have arrived here following the Reddit post where this plugin was announced. I was very excited to see that the terminal I use, urxvt, was on the list of terminals that support OCS52. However, I haven't been able to make it work. Furthermore, I've seen that urxvt is not on the list of supporting terminals in the GitHub readme, even though it was included in the Reddit post.

Is it possible to use this plugin in urxvt, and do you have any pointers to make it work?

Thanks in advance!

ojroques commented 3 years ago

Hello!

I initially thought urxvt had support for OSC52 based on a random post saying so (here) and given that rxvt seems to have OSC52 (source). But someone on reddit told me it was not the case. That's why I updated the README here. Sorry for getting your hopes up, I'll update the post on reddit.

I found this small script claiming to add support maybe it'll be useful to you.

mgarort commented 3 years ago

Wow, thanks a lot! That script does indeed add support for OSC52, so I can finally use your plugin (and it's great, thanks!).

For future referece, to add OSC52 functionality to urxvt with this script you need to:

Maybe this could be mentioned in the documentation? I know other urxvt users will find it useful too.

ojroques commented 3 years ago

Glad to hear that it worked! In case the repo is lost I've created a gist with the script here. I'll update the readme and the reddit post with your instructions. Thanks.