sponsor Vim development Vim logo Vim Book Ad

AutoScrollMode : script to let vim auto scroll text for you

 script karma  Rating 1/1, Downloaded by 804  Comments, bugs, improvements  Vim wiki

created by
Paul B. Mahol
 
script type
utility
 
description
Sometimes you just read text inside vim. You spend hours in Normal mode, not doing nothing, just scrolling text and pressing hjkl keys all the time. In such situations this script becomes very useful.
To enter Auto Scroll Mode, install this script first,
and than activate it pressing <F21> key from Normal mode (Pause on keyboard)
To start scrolling text type 'l', for more info read next section.

COMMANDS

Commands used in Auto Scroll Mode to change how Vim will scroll text

        0-9        : change type of movement to:

        "1"        : character, default
        "2"        : word
        "3"        : WORD
        "4"        : line
        "5"        : half page
        "6"        : full page
        "7"        : full screen
        "8"        : sentence
        "9"        : paragraph        see 'paragraphs'
        "0"        : section        see 'sections'



Commands used to change how much time will Vim
sleep until the cursor is moved, default: Vim will sleep forever
Note: period can be negative, in that case period is changed to
positive but direction is switched i.e. up becomes down.


        "h"        : decrease sleep period for 1 millisecond

        "l"        : increase sleep period for 1 millisecond


        "k"        : divides sleep period for 2

        "j"        : multiplies sleep period for 2


        "`"        : set sleep period to zero, default

other useful commands:

        "r"        : clean and redraw screen

        <Space>    : toggle pause, text stop scrolling
        <Enter>    : toggle backward/forward movement

        <Esc>      : exit AutoScrollMode, enters Normal Vim mode
        CTRL-C     : immediately exit in Normal Vim mode
 
install details
Just source file once you opened it inside vim, or put it in Vim plugins directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
AutoScrollMode.vim 1.0 2007-10-10 7.0 Paul B. Mahol Initial upload
ip used for rating: 18.218.38.125

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github