Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes OSC 52 is very handy for vim over SSH: instead of X11 forwarding - you can just yank text from remote vim into the local clipboard using OSC 52 [1].

Overall it's much quicker - as yanking in vim with X11 forwarding and '+clipboard' sometimes had a delay.

(ps: I think OSC 52 is implemented in xterm and URXVT, but not yet in gnome-terminal)

[1]: https://github.com/ojroques/vim-oscyank



libvte, which several exceedingly basic terminals use (including gnome-terminal) is basically no longer maintained, and is on life support provided by its few consumers. It will probably never get OSC 52 support (and support of many extensions), unless it truly scratches someone's itch, and they can hound maintainers into accepting a patch.

That said, there are many great modern terminals to use. I suggest Alacritty.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: