Monday, August 21, 2017

Re: disable the mouse wheel

On Friday, October 12, 2007 at 12:57:21 PM UTC-4, Amir M. wrote:
> Thanks you are right it is a gnome mapping problem and not a vim one.
>
>
>
> Gary Johnson wrote:
>
> On 2007-10-12, "Amir M." <sk...@pob.huji.ac.il> wrote:
>
>
> I mean that on gnome-terminal when I use vim the mouse scrolling wheel is
> making the cursor to move up and down and I did try the:
> :map <mouseup> <nop>
> :map <mousedown> <nop>
> But it doesn't change this behavior.
>
>
> I don't use gnome-terminal and don't have access to one at the
> moment, so the following is just a guess, but if you have told vim
> to ignore mouse/wheel events and have tried mapping mouse/wheel
> events to other actions and none of that works, then my guess is
> that gnome-terminal is mapping the mouse wheel clicks to up- and
> down-arrow character sequences. You could check this by remapping
> <Up> and <Down> to something else and see if that affects vim's
> response to wheel movement. If that's the case, then I would expect
> gnome-terminal to have some configuration setting for this that you
> could disable. If gnome-terminal doesn't have a configuration menu,
> you might find the control in /usr/X11R6/lib/X11/app-defaults and be
> able to override it in your ~/.Xdefaults file.
>
> HTH,
> Gary
>
>
>
>
>
>
>
>
> --
> Peace and Prosperity
> Amir M. M.
> sky...@013.net.il
> 054-5726 074

Hi Amir,

I'm encountering the same problem right now. Have you found the solution?

Thanks,
Clark

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: