On Sun 05 Jul 2020 at 11:47:55 +0100, Sad Clouds wrote: > Thanks for that, this command seems to fix the issue. However I never > needed to do this in Vim prior to version 8.2, so I think this is where > the issue is: > > $ vim --version > VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 18 2020 16:42:25) > Included patches: 1-2200 > +clipboard > > $ vim --version > VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jun 14 2020 15:33:43) > Included patches: 1-303 > -clipboard I haven't updated to the latest stable branch yet, and I have :ver VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 10 2020 17:01:38) Included patches: 1-303 +clipboard I don't think I have any non-default options for building Vim, and :set mouse mouse= Pasting with the middle button works for me in xterm (i.e. doing this purely as an xterm copy/paste, no vim functionality involved). With some programs that are mouse-aware in xterms you can shift-mouse for select and paste. I haven't checked, but it may be that the +clipboard build option determines if you can use the "* and/or "+ buffers. You can check if doing a "*p will paste the X selection, and if "+p will paste the clipboard. See :help x11-selection. -Olaf. -- Olaf 'Rhialto' Seibert -- rhialto at falu dot nl ___ Anyone who is capable of getting themselves made President should on \X/ no account be allowed to do the job. --Douglas Adams, "THGTTG"
Description: PGP signature