2
1
Anyway i can get text from Vim in the windows clipboard?
my sessions are usually via PuTTY, and almost always in a gnu screen
if using :set mouse=v i can highlight some lines and they appear in windows' clipboard.
but for longer texts, selecting it all, and yanking to "+
does nothing.
Use X11 forwarding and the clipboard synchronizes. For windows there's the vcxsrv server. Set
– dezza – 2017-04-09T02:28:34.203X11Forwarding=yes
in yoursshd_config
and enable in PuTTY/client also.1Thought, PuTTY does not know anything about remote clipboard. So, it can copy only visible parts of texts. – Maximus – 2012-10-01T21:38:17.003