Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase Vim's Scrolling Speed [closed]

Tags:

vim

macvim

I don't like the way MacVim has such a slow scrolling speed, ( Was faster on gVim, Ubuntu ), is there a way to speed it up ?

like image 342
Rigel Glen Avatar asked Oct 04 '11 11:10

Rigel Glen


People also ask

How do I control scroll speed in Chrome?

Procedure. Type chrome://flags in the Chrome address bar. Scroll down to find the Smooth Scrolling setting. Change the setting from Default to Disabled.

How do I scroll all the way down in Vim?

You can make Vim scroll the text using the shifted up/down arrows by mapping Shift-Up to Ctrl-Y and Shift-Down to Ctrl-E. Shift-Down will then scroll down (like moving a scroll-bar down, or like moving a cursor at the bottom of a window down), and Shift-Up will then scroll up (like moving a scroll-bar up, etc).


1 Answers

I'm assuming you mean mouse scrolling speed (since keyboard scrolling is welldefined and shouldn't vary across platforms/versions unless you modified your .vimrc)

From 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.

like image 70
sehe Avatar answered Sep 21 '22 10:09

sehe