LV4AD/Ch/03 Getting Around/02 Scrolling the Screen
- 3.2 Scrolling the Screen
- Half- and full-page scroll — see vim/Keyshort/Scroll/Page and Half Page
- 3.2.1 Z Mode —
zt / zb / zz reposition the cursor line on screen 1. What Keyshort scrolls the window down half a screen, and 2. what Keyshort scrolls up half a screen? card
- 1.
<C-d> — down; cursor stays in the same spot relative to the window - 2.
<C-u> — up; same relative cursor position as half-page down
1. What Keyshort scrolls forward a full page, and 2. what Keyshort scrolls backward a full page? card
- 1.
<C-f> — forward one screen; accepts a count (e.g. 5<C-f> for five pages) - 2.
<C-b> — backward one screen; also count-prefixable unlike half-page scroll in the book's emphasis
1. What Keyshort scrolls the window down one line, and 2. what Keyshort scrolls up one line? card
- 1.
<C-e> — scrolls the window down one line (cursor moves only if it would scroll off screen) - 2.
<C-y> — scrolls the window up one line; same cursor-stays-put advantage for subtle repositioning
1. What Keyshort moves the cursor line to the top of the screen, 2. what moves it to the bottom, and 3. what moves it to the middle? card
- 1.
zt — top of screen (leaves a few lines of context above) - 2.
zb — bottom of screen (context below) - 3.
zz — middle of screen (double letter for easy typing)