gpt4 book ai didi

vim - 提高 Vim 的滚动速度

转载 作者:行者123 更新时间:2023-12-03 02:19:48 37 4
gpt4 key购买 nike

我不喜欢 MacVim 的滚动速度这么慢(在 gVim、Ubuntu 上更快),有没有办法加快它的速度?

最佳答案

我假设您指的是鼠标滚动速度(因为键盘滚动是明确定义的,并且不应因平台/版本而异,除非您修改了 .vimrc)

来自http://vimdoc.sourceforge.net/htmldoc/scroll.html#scroll-mouse-wheel

You can modify the default behavior by mapping the keys. For example, to make the scroll wheel move one line or half a page in Normal mode: >

    :map <ScrollWheelUp> <C-Y>
:map <S-ScrollWheelUp> <C-U>
:map <ScrollWheelDown> <C-E>
:map <S-ScrollWheelDown> <C-D>

You can also use Alt and Ctrl modifiers.

关于vim - 提高 Vim 的滚动速度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7646916/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com