Update runtime files

This commit is contained in:
Bram Moolenaar
2022-10-28 20:47:54 +01:00
parent 3f68a4136e
commit 6ebe4f970b
24 changed files with 482 additions and 311 deletions

View File

@ -1,4 +1,4 @@
*scroll.txt* For Vim version 9.0. Last change: 2022 May 07
*scroll.txt* For Vim version 9.0. Last change: 2022 Oct 17
VIM REFERENCE MANUAL by Bram Moolenaar
@ -280,6 +280,17 @@ You can also use Alt and Ctrl modifiers.
This only works when Vim gets the scroll wheel events, of course. You can
check if this works with the "xev" program.
*mouse-scrolling-off*
If you do not want the mouse to cause scrolling (e.g. because resting your
palm on the touchpad causes scroll events), you can disable that with: >
:map <ScrollWheelDown> <Nop>
:map! <ScrollWheelDown> <Nop>
:map <ScrollWheelUp> <Nop>
:map! <ScrollWheelUp> <Nop>
:map <ScrollWheelLeft> <Nop>
:map! <ScrollWheelLeft> <Nop>
:map <ScrollWheelRight> <Nop>
:map! <ScrollWheelRight> <Nop>
When using XFree86, the /etc/XF86Config file should have the correct entry for
your mouse. For FreeBSD, this entry works for a Logitech scrollmouse: >