Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2018 16:15:56 +0200
From:      Patrick Lamaiziere <patrick@davenulle.org>
To:        freebsd-questions@freebsd.org
Cc:        tech-lists <tech-lists@zyxst.net>
Subject:   Re: vim color and copy/paste
Message-ID:  <20180713161556.70f8e525@mr185083>
In-Reply-To: <d5bd7d8c-c6e3-517b-0bc9-651d3b134a88@zyxst.net>
References:  <20180712115452.48cee92d@mr185083> <d5bd7d8c-c6e3-517b-0bc9-651d3b134a88@zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Thu, 12 Jul 2018 11:02:10 +0100,
tech-lists <tech-lists@zyxst.net> a =C3=A9crit :

> On 12/07/2018 10:54, Patrick Lamaiziere wrote:
> > Any idea why with Vim in a terminal xterm I cannot copy/paste text
> > when the text is colored (syntax color by sample)?
> >=20
> > vim-lite-8.0.0134
> > freebsd 11.2 =20
>=20
> Hi,
>=20
> What's in your .vimrc ?
>=20
> In a minimal config, I have just the following:
>=20
> set mouse=3D
>=20
> otherwise mouse commands get interpreted by vim and I don't want that.

I've edited /usr/local/etc/vim/vimrc and /root/.vimrc to add
set mouse-=3Da

without vim uses a 'visual mode'.

Thanks a lot, regards.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180713161556.70f8e525>