From owner-freebsd-current@freebsd.org Wed Jan 18 17:49:33 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCD2ACB6C4A for ; Wed, 18 Jan 2017 17:49:33 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A23E012D9 for ; Wed, 18 Jan 2017 17:49:33 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9EA58CB6C48; Wed, 18 Jan 2017 17:49:33 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E354CB6C46; Wed, 18 Jan 2017 17:49:33 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3635312CA; Wed, 18 Jan 2017 17:49:33 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id r144so5781687wme.0; Wed, 18 Jan 2017 09:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=znufPbWaR00QLqBj6BToe/T3T52WJiZC0PsMtOyMvDY=; b=fDgh+rK9Xvdvh0GGaWAZTcSmaJVH4fU//lFZjLIYofzMFgeDlqI99Bx7QRWIdeaFdH 5DGJAil91CFrbWfogXktW754Iz6v8wcSlZ5DbGHDO/PxPEX7CxVaKJFsQOeE5WyhUxBT dZorQkVTzfgshPBT3jUDsfks/L7qlMzme/4y9GNH4pT6+cFYiu4dSs2D+6yX14zPzys2 psPvYodRXL1LASke2zl1/bwOGh13Nj/pfI4DG8pHNZfhw9lFJ/+DG4VwzaBt7Nv6Rusv GOlXvsm06M03RZRJMhcYVAoON8ZGrE0P4bQfcVamIU64spO6pHzFFtIoYxJw4bvxlcBE p5hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=znufPbWaR00QLqBj6BToe/T3T52WJiZC0PsMtOyMvDY=; b=ftB/AMsyMmmbZSWcOtzy2IUN9LyzpiMU9q51NTz1vKcdXcn6pD5Nn8X9qBFZ2jh24v 6rqqvzbpGjgXz+eeqE3dOhp6zGdLeukneLjVtUKzRqjQO4eTc0x9iib4O+8sthP+CdDg vZcK9V4acp1kjpD8Che2S0avxfdeda6LyWlPTaeY3M6nduGIji9RMkMubSMK7O4vZcPL SKmzL8hOv/ULFBaCvrGsTwNRA9hEEIoQtBaz7oDa51hAsOjmMRal0nUu/WglRsU2N57c ZtIzLD3UjkUFXFovUfKNrnUsflV9NfUZATUzPr0+WhPZkCjqwnmO4LBn6RU0XOl2lgqB shZw== X-Gm-Message-State: AIkVDXLKcie4bJVKH5QHKR6SeAou2dNIqPcZdbRPLb0Lk3k8lVHS5TDNZRtDil4roAHNaw== X-Received: by 10.28.174.208 with SMTP id x199mr4169500wme.107.1484761771307; Wed, 18 Jan 2017 09:49:31 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id 197sm46822064wmy.16.2017.01.18.09.49.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jan 2017 09:49:30 -0800 (PST) Sender: Baptiste Daroussin Date: Wed, 18 Jan 2017 18:49:29 +0100 From: Baptiste Daroussin To: Adam Weinberger Cc: Julian Elischer , "ports@FreeBSD.org" , "current@freebsd.org" Subject: Re: recent change to vim defaults? Message-ID: <20170118174929.awmn5olimtn476xq@ivaldir.etoilebsd.net> References: <20170116162526.ei2uxnnvmuni6inp@ivaldir.etoilebsd.net> <48FFF8F8-7F23-4624-8436-F978F072494E@adamw.org> <3008e8e4-2386-2bcb-b779-f8e2125c6f63@freebsd.org> <37A99792-9E8E-4505-AA63-5E619D20DF36@adamw.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l64qh4uuwhu77tow" Content-Disposition: inline In-Reply-To: <37A99792-9E8E-4505-AA63-5E619D20DF36@adamw.org> User-Agent: NeoMutt/20161126 (1.7.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 17:49:33 -0000 --l64qh4uuwhu77tow Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 18, 2017 at 10:37:32AM -0700, Adam Weinberger wrote: > > On 18 Jan, 2017, at 10:35, Julian Elischer wrote: > >=20 > > On 17/01/2017 1:23 AM, Adam Weinberger wrote: > >>> On 16 Jan, 2017, at 9:25, Baptiste Daroussin wrote: > >>>=20 > >>> On Mon, Jan 16, 2017 at 12:03:08AM +0800, Julian Elischer wrote: > >>>> I noticed that suddenly vim is grabbing mouse movements, which makes= life > >>>> really hard. > >>>>=20 > >>>> Was there a specific revision that brought in this change, and can i= t be > >>>> removed? > >>> This change appeared in one of the last patchset of vim 7.4 and was o= ne of the > >>> "features" of the vim 8.0 release. > >>>=20 > >>> I do agree this is just totally painful :( > >>>=20 > >>> Best regards, > >>> Bapt > >> One of the things that I inherited with the Vim port was the DEFAULT_V= IMRC option (which installs /usr/ports/editors/vim/files/vimrc), and I have= n't touched it. > >>=20 > >> I have moused disabled in all my boxes so I have no idea about bad mou= se behaviour in Vim. If there is a bad default that is causing grief, let's= just fix it in that default vimrc. > >>=20 > >> I'm not really understanding what the unexpected behaviour is so I can= 't make an intelligent recommendation myself, but I'll go with whatever you= folks suggest. > >>=20 > >> # Adam > > I'm in iterm on my mac. > > I ssh to a freebsd machine > > I use vim on a file. > > I used to be able to use the mouse on my mac to copy a few lines into t= he cut buffer.. slide-shift-click etc.. > > now suddenly if I try highlight some code in vim to copy it vim drags s= tuff around, scrolls up and down, deletes stuff and generally makes a mess. > > if click, instead of starting a copy zone it grabs some of the text. > >=20 > > basically it makes hte mouse useless. > > I can;t copy and paste from a file I'm ediitng. I end up having to exit= vim and do it in vi. >=20 > There have been a number of recommendations in this thread for you, Julia= n, including "set mouse=3Da" and "set mouse=3Dv". Test some of them out and= let me know what works for you. set mouse=3D (with nothing) brings back the original behaviour Bapt --l64qh4uuwhu77tow Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlh/qqcACgkQY4mL3PG3 PlrD/xAA3QBJdv0FObFKoMc5AHjNjqLciOueSFewpoAUk76AcnnbtGbKdDRdnN5c oSTKXdqaFhBBCgs+0GiLCJqiMxjGwwSevnLQaZhU88hTUHlDT1hCHFwq5rbRBrD4 sfkDEJc+xEYgUjwDURUQnNb7/eAWEg5vi0F6jni3wg8X2QZmRARsFUhfejVvLQft Gi3D0Almir4FQs7L5cRo1+UHfjbZXEMxHbzBaaIa+tZjGBk5E6TM/Sd5aNub30JD znghsbXux35orOLiF5lcrKDyraI/nZCeakDfvpBDJetx9Ler2Xp/N6El3HtBPcP1 EWdzneDgcK0ey8H2NzZtCXqtNeemeSeIP1fgiJzOuSQNBeCR8+r9K8+3VA7Kbfp+ i/lKEab3K0OOJgqSCcGx2kCxuEqLr0KPF8QlWn8W0EFQGXQLwoleXpKsvhonV+U1 Rdyygt/28rUxU3s6mt2GvKzNgvODkLgGwUxdbsWnc2lUpQ12k654xq9lAtYfX6gR ZxRgdW6Q27+xkKz25FKsMWQExT2tgXJX2YdeZDzb8XSef0mJDx/9DAQ7mzHVAXTJ xQ+yDXJ5bH0h0OzuiCGbUe2z1Djdkzr1MsnjNgd+CbrL5JbDFWn9XlJogsl1uLdq bhVRGzkn4uVJ/b4Fl2t0Jt0OsBs3STj1Ov07Be3PfeiQI7pinoQ= =AVB8 -----END PGP SIGNATURE----- --l64qh4uuwhu77tow--