Line-by-Line Scroll
Ctrl-E and Ctrl-Y โ scroll without moving the cursor (until you have to).
Ctrl-E scrolls the screen down one line; Ctrl-Y scrolls it up. The cursor stays on its file line until the screen would have to push it off โ then it moves with the screen.
When you want to peek at what's just off-screen without moving the cursor, Ctrl-E and Ctrl-Y are the right tools. They scroll the viewport one line at a time and leave the cursor where it was โ until the cursor would scroll off, in which case it slides with the screen.
| Key | Note |
|---|---|
| Ctrl-E |
| Key | Note |
|---|---|
| Ctrl-Y |
Reference
| Key | Action |
|---|---|
| Ctrl-E | Scroll screen down (1 line; counts work) |
| Ctrl-Y | Scroll screen up |
See also: Half- and Full-Page Scrolling, Centering the Cursor