From owner-freebsd-current@freebsd.org Wed Jan 18 17:35:27 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 3E9C5CB64F9 for ; Wed, 18 Jan 2017 17:35:27 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 295541712 for ; Wed, 18 Jan 2017 17:35:27 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 25FCCCB64F7; Wed, 18 Jan 2017 17:35:27 +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 25774CB64F6; Wed, 18 Jan 2017 17:35:27 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C20D41711; Wed, 18 Jan 2017 17:35:26 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-228-247.lns20.per1.internode.on.net [121.45.228.247]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v0IHZK4t038250 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 18 Jan 2017 09:35:23 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: recent change to vim defaults? To: Adam Weinberger , Baptiste Daroussin References: <20170116162526.ei2uxnnvmuni6inp@ivaldir.etoilebsd.net> <48FFF8F8-7F23-4624-8436-F978F072494E@adamw.org> Cc: "ports@FreeBSD.org" , "current@freebsd.org" From: Julian Elischer Message-ID: <3008e8e4-2386-2bcb-b779-f8e2125c6f63@freebsd.org> Date: Thu, 19 Jan 2017 01:35:14 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <48FFF8F8-7F23-4624-8436-F978F072494E@adamw.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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:35:27 -0000 On 17/01/2017 1:23 AM, Adam Weinberger wrote: >> On 16 Jan, 2017, at 9:25, Baptiste Daroussin wrote: >> >> 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. >>> >>> Was there a specific revision that brought in this change, and can it be >>> removed? >> This change appeared in one of the last patchset of vim 7.4 and was one of the >> "features" of the vim 8.0 release. >> >> I do agree this is just totally painful :( >> >> Best regards, >> Bapt > One of the things that I inherited with the Vim port was the DEFAULT_VIMRC option (which installs /usr/ports/editors/vim/files/vimrc), and I haven't touched it. > > I have moused disabled in all my boxes so I have no idea about bad mouse behaviour in Vim. If there is a bad default that is causing grief, let's just fix it in that default vimrc. > > 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. > > # 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 the cut buffer.. slide-shift-click etc.. now suddenly if I try highlight some code in vim to copy it vim drags stuff 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. 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. > >