Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 18:49:29 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Adam Weinberger <adamw@adamw.org>
Cc:        Julian Elischer <julian@freebsd.org>, "ports@FreeBSD.org" <ports@freebsd.org>, "current@freebsd.org" <current@FreeBSD.ORG>
Subject:   Re: recent change to vim defaults?
Message-ID:  <20170118174929.awmn5olimtn476xq@ivaldir.etoilebsd.net>
In-Reply-To: <37A99792-9E8E-4505-AA63-5E619D20DF36@adamw.org>
References:  <e0c404ee-833e-221c-06a4-4c8745e0682a@freebsd.org> <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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Jan 18, 2017 at 10:37:32AM -0700, Adam Weinberger wrote:
> > On 18 Jan, 2017, at 10:35, Julian Elischer <julian@freebsd.org> wrote:
> > 
> > On 17/01/2017 1:23 AM, Adam Weinberger wrote:
> >>> On 16 Jan, 2017, at 9:25, Baptiste Daroussin <bapt@FreeBSD.org> 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.
> 
> There have been a number of recommendations in this thread for you, Julian, including "set mouse=a" and "set mouse=v". Test some of them out and let me know what works for you.

set mouse=
(with nothing) brings back the original behaviour

Bapt

[-- Attachment #2 --]
-----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-----
help

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