On 2023-09-28, SturkenSnure wrote:
> I'm having the same problem.
>
> The only solution I have found is to use a terminal emulator like rxvt.
> Otherwise, every other terminal emulator (gnome-terminal, konsole, kitty, etc)
> do the same thing.
>
> This is a really annoying feature. It should be possible to disable mouse
> scrolling in vim. Especially in insert mode.
>
> I have been using vi for almost 30 years. These strange "features" seem to
> creep up recently. Have been doing a lot of searching to turn off these bugs
> ("features").
>
> Some great settings to disable some of these bugs (features):
> set t_BE=
> set mouse=
> set ttymouse=
>
> But none of these fix the scroll wheel problem.
imap <ScrollWheelUp> <Nop>
imap <ScrollWheelDown> <Nop>
work fine for me in xterm, xfce4-terminal and GNOME Terminal. For
those to work, however, Vim must have control of the mouse, so you
can't expect those to work and have
:set mouse=
which gives control of the mouse to the terminal. Just leave
:set mouse=a
Regards,
Gary
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230928173443.GC7180%40phoenix.