Skip to content

Commit e5824d6

Browse files
committed
scroll.txt: Update Vim 9.0.0820
1 parent 2e782ba commit e5824d6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

en/scroll.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*scroll.txt* For Vim version 9.0. Last change: 2022 May 07
1+
*scroll.txt* For Vim version 9.0. Last change: 2022 Oct 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -280,6 +280,17 @@ You can also use Alt and Ctrl modifiers.
280280

281281
This only works when Vim gets the scroll wheel events, of course. You can
282282
check if this works with the "xev" program.
283+
*mouse-scrolling-off*
284+
If you do not want the mouse to cause scrolling (e.g. because resting your
285+
palm on the touchpad causes scroll events), you can disable that with: >
286+
:map <ScrollWheelDown> <Nop>
287+
:map! <ScrollWheelDown> <Nop>
288+
:map <ScrollWheelUp> <Nop>
289+
:map! <ScrollWheelUp> <Nop>
290+
:map <ScrollWheelLeft> <Nop>
291+
:map! <ScrollWheelLeft> <Nop>
292+
:map <ScrollWheelRight> <Nop>
293+
:map! <ScrollWheelRight> <Nop>
283294
284295
When using XFree86, the /etc/XF86Config file should have the correct entry for
285296
your mouse. For FreeBSD, this entry works for a Logitech scrollmouse: >

0 commit comments

Comments
 (0)