next up previous contents
Next: Positioning Cursor Line in Up: Guide to VI and Previous: Cursor and Display Control

Text Scrolling Commands


<ctrl>N n<ctrl>N scroll down one or n lines
<ctrl>P n<ctrl>P scroll up one or n lines
<ctrl>B n<ctrl>B scroll backward one or n screens
<ctrl>U scroll backward one half screen
n<ctrl>U set half screen scroll to n lines, then scroll
  backward one half screen
<ctrl>D n<ctrl>D same as <ctrl>U and n<ctrl>U but forward
<ctrl>F n<ctrl>F scroll forward to next or nth screen
<ctrl>Y n<ctrl>Y scroll backward one or n lines
<ctrl>E n<ctrl>E scroll forward one or n lines


The default half screen is 12 lines. Specifying n in one of the above commands resets the default value.



Marisa Luvisetto
2000-12-20