SSH – Clipboard over SSH session through VIM

sshvim

I have a server running SSH, when I edit a file with vim on the remote server, :y+ doesn't work since the VIM binary on that linux system wasn't compiled with X support.

(E488: Trailing characters)

So how should I share the clipboard? Just transparently like what I do on local system

Best Answer

Use a vim compiled with X support instead, e.g. gvim -v, along with X forwarding in SSH.

Related Question