From owner-freebsd-questions@freebsd.org Fri Jul 13 14:16:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34304103E117 for ; Fri, 13 Jul 2018 14:16:23 +0000 (UTC) (envelope-from patrick@davenulle.org) Received: from sender-of-o52.zoho.com (sender-of-o52.zoho.com [135.84.80.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F08288718 for ; Fri, 13 Jul 2018 14:16:22 +0000 (UTC) (envelope-from patrick@davenulle.org) Received: from mr185083 (mr185083.univ-rennes1.fr [129.20.185.83]) by mx.zohomail.com with SMTPS id 1531491361323862.4820435580297; Fri, 13 Jul 2018 07:16:01 -0700 (PDT) Date: Fri, 13 Jul 2018 16:15:56 +0200 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org Cc: tech-lists Subject: Re: vim color and copy/paste Message-ID: <20180713161556.70f8e525@mr185083> In-Reply-To: References: <20180712115452.48cee92d@mr185083> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 14:16:23 -0000 Le Thu, 12 Jul 2018 11:02:10 +0100, tech-lists 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.