Mercurial > vim
comparison runtime/doc/scroll.txt @ 30967:eb2638f278bf
Update runtime files
Commit: https://github.com/vim/vim/commit/6ebe4f970b8b398087076a72a7aae6e680fb92da
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 28 20:47:54 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Nov 2022 11:18:47 +0100 |
parents | f8116058ca76 |
children | ab758d4eccdb |
comparison
equal
deleted
inserted
replaced
30966:685ee8453163 | 30967:eb2638f278bf |
---|---|
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 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
278 :map <S-ScrollWheelDown> <C-D> | 278 :map <S-ScrollWheelDown> <C-D> |
279 You can also use Alt and Ctrl modifiers. | 279 You can also use Alt and Ctrl modifiers. |
280 | 280 |
281 This only works when Vim gets the scroll wheel events, of course. You can | 281 This only works when Vim gets the scroll wheel events, of course. You can |
282 check if this works with the "xev" program. | 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 When using XFree86, the /etc/XF86Config file should have the correct entry for | 295 When using XFree86, the /etc/XF86Config file should have the correct entry for |
285 your mouse. For FreeBSD, this entry works for a Logitech scrollmouse: > | 296 your mouse. For FreeBSD, this entry works for a Logitech scrollmouse: > |
286 Protocol "MouseMan" | 297 Protocol "MouseMan" |
287 Device "/dev/psm0" | 298 Device "/dev/psm0" |