Ana içeriğe atla

Kayıtlar

Mart, 2026 tarihine ait yayınlar gösteriliyor

Vi clipboard copy with OSC52

 What a mess I was in lately when I try to repair broken copy/paste feature on vi sessions between my computers. I used to have "+y key combination working for some machines I have, until I realised it was not working anymore.  I tried AI guidance with some progress, but it has taken a lot of time of mine. Different AIs proposed different solutions (only partial indeed) till I reached the latest stable and widespread one. The solution depends and is easily affected by the programs, their versions  and their living environments. Since I have mainly minimal servers with poorer versions of software, it was a bit tricky to find a unique solution applicable to each scenario. But I believe at last I found a simple and working one. The trick is to use the following on .vimrc for my remote hosts call plug#begin('~/.vim/plugged') Plug 'ojroques/vim-oscyank' call plug#end() let mapleader = " " if $SSH_TTY != ''    let g:oscyank_term = 'default'    l...