Your message dated Thu, 8 Feb 2018 07:02:33 -0500
with message-id <20180208120233.lxiflbcgmqetk...@freya.jamessan.com>
and subject line Re: Bug#889888: vim: Pressing middle mousbutton pastes 
immediately even if not in insert mode
has caused the Debian Bug report #889888,
regarding vim: Pressing middle mousbutton pastes immediately even if not in 
insert mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
889888: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889888
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: vim
Version: 2:8.0.1453-1
Severity: normal

Dear Maintainer,

In previous versions of vim I used 'grep -n' to find out in which line matches
are. Then I marked the line numbers, enter Vim pressed the middle mouse
button followd by 'G' to jump to that line.

Now vim just inserts the contens of the middle mouse button immediately
without being in insert mode. After inserting it is in normal mode
again. May be this was intented as an feature, but I want to switch it
of. 

Many thanks
Christian Huebschle


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.basic
/usr/bin/vim is /usr/bin/vim.basic

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=en_US 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim depends on:
ii  libacl1      2.2.52-3+b1
ii  libc6        2.26-4
ii  libgpm2      1.20.7-5
ii  libselinux1  2.7-2+b1
ii  libtinfo5    6.0+20171125-1
ii  vim-common   2:8.0.1453-1
ii  vim-runtime  2:8.0.1453-1

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags        <none>
pn  vim-doc      <none>
pn  vim-scripts  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu, Feb 08, 2018 at 11:24:16AM +0100, Christian Huebschle wrote:
> In previous versions of vim I used 'grep -n' to find out in which line matches
> are. Then I marked the line numbers, enter Vim pressed the middle mouse
> button followd by 'G' to jump to that line.
> 
> Now vim just inserts the contens of the middle mouse button immediately
> without being in insert mode.

This happens when Vim has been configured to handle the mouse events
from the terminal -- :help 'mouse'.  Since you don't seem to have
explicitly configured this, I'm guessing you don't have a ~/.vimrc and
the new defaults.vim (:help defaults.vim) is being used.  It sets
mouse=a.

If you create a ~/.vimrc file (even an empty one), that will prevent Vim
from loading defaults.vim.

If you want to keep the ability to middle-click insert, then you can
hold shift while clicking to temporarily force the terminal to handle
the mouse event instead.  That will behave as you expect as well.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

--- End Message ---

Reply via email to