pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: editors/vim copy+paste no longer works
On Mon, 6 Jul 2020 23:06:28 +0200
Rhialto <rhialto%falu.nl@localhost> wrote:
> 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
Probably nothing to do with the clipboard. It turns out on one machine I
had vim-gtk2 and on another I had vim. The former has "+clipboard" and
the latter has "-clipboard".
But now I think this is not the cause of the issue. It is probably more
to do with ":set mouse=" setting. With the latest version of Vim 8.2 if
I run ":set mouse?" it reports "mouse=a", where the previous version
had "mouse=".
So with "mouse=a" copy+paste in Xterm doesn't work. If I reset it back
to "mouse=" copy+paste works again. I have no idea why setting mouse to
mode "a" screws up copy+paste. Is it a Vim bug?
I'm not sure why your copy+paste works. Can you check your mouse
setting in Vim and try with "mouse=" and "mouse=a"?
Home |
Main Index |
Thread Index |
Old Index