File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -280,6 +280,17 @@ You can also use Alt and Ctrl modifiers.
280
280
281
281
This only works when Vim gets the scroll wheel events, of course. You can
282
282
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>
283
294
284
295
When using XFree86, the /etc/XF86Config file should have the correct entry for
285
296
your mouse. For FreeBSD, this entry works for a Logitech scrollmouse: >
You can’t perform that action at this time.
0 commit comments