On 2025-03-16, Daniel Steinberg (Vim Github Repository) wrote:
> Steps to reproduce
> 
> vim --clean
> :set mouse=
> :help builtin.txt
> " Rotate the mouse wheel down
> 
> Expected behaviour
> 
> I expected that with mouse=, Vim would ignore mouse wheel events.
> 
> Rather, the cursor moves in the direction that the mouse wheel is rotated.
> 
> Version of Vim
> 
> 9.1 (included patches: 1-16, 647, 678, 697)
> 
> Environment
> 
> Operating system: Kubuntu 24.04
> Terminal: Konsole 23.08.5
> Value of $TERM: xterm-256color
> Shell: GNU bash 5.2.21(1)-release

These are not mouse wheel events but keyboard events.  They are
generated by your terminal emulator.

To see this, with Vim configured as above, enter insert mode and
type Ctrl-K followed by a rotation of your mouse wheel.  You should
see <Up> or <Down> for each click of the mouse wheel.  Those
correspond to your keyboard's up and down arrows.  Type Ctrl-K and
either the up-arrow or down-arrow key and you'll see the same <Up>
or <Down>.  You'll need to type Ctrl-K before each mouse click and
key press.

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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/20250316192210.GA30799%40phoenix.

Raspunde prin e-mail lui