Files
neovim/runtime
Jay 93c8fe77cb feat: add 'mousescroll' option (#12355)
Add 'mousescroll' option to control how many lines to scroll by when a
mouse wheel keycode is received. The mousescroll option controls both
horizontal and vertical scrolling. The option is a string in the format:

    set mousescroll=direction:count,direction:count

Where direction is either "ver" or "hor", and count is a non negative
integer. If a direction is omitted, a default value is used. The default
values remain unchanged, that is 3 for vertical scrolling, and 6 for
horizontal scrolling. As such, the mousescroll default is "ver:3,hor:6".

Add mousescroll documentation
 - Add option documentation in options.txt
 - Add brief summary in quickref.txt

Update :help scroll-mouse-wheel
 - Mention mousescroll option as a means of controlling scrolling.
 - Remove obsolete suggestion to map scroll wheel keys to <C-U> to
   scroll by a single line -- users should prefer the mousescroll option.
 - Add some information about the consequences of remapping scroll wheel
   keys (they lose their magic ability to affect inactive windows).

Update :help vim-differences
 - Add brief mousescroll summary under Options

Add mousescroll tests
 - Test option validation
 - Test default mousescroll value and behavior
 - Test fallback to default values
 - Test mouse vertical and horizontal scrolling in normal mode
 - Test mouse vertical and horizontal scrolling in insert mode
2022-07-06 19:34:24 +08:00
..
2022-07-02 11:06:03 +02:00
2022-06-15 09:20:32 +02:00
2022-06-17 20:38:21 +02:00
2022-07-02 11:06:03 +02:00
2022-06-24 14:45:07 +02:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2014-12-19 15:28:49 -05:00
2021-03-09 19:21:26 +01:00
2022-07-02 11:06:03 +02:00
2021-11-27 19:39:42 +01:00
2019-07-29 20:50:07 +02:00
2021-04-27 09:21:32 -04:00
2019-07-29 20:50:07 +02:00
2022-04-15 13:38:44 +02:00
2022-06-04 11:56:36 +08:00
2021-05-01 22:29:02 -04:00