z. / z+ / z- β€” Scroll and Land on First Non-Blank

Like zz/zt/zb, but the cursor jumps to the first non-blank.

Keys: z., z+, z-

z. centers the line and moves the cursor to the first non-blank. z- puts the line at the bottom and lands at first non-blank. z+ scrolls forward and puts the next-page-top line at the top.

z. / z+ / z-

Three more z-family scroll commands. They behave like zz / zt / zb but also move the cursor to the first non-blank of the line β€” exactly where the code starts.

Like zz, but cursor β†’ first non-blank
KeyNote
z
.
Scroll forward, line below current page top β†’ top, cursor first non-blank
KeyNote
z
+
Like zb, but cursor β†’ first non-blank
KeyNote
z
-
z. β€” center + first non-blank
z+ β€” page forward to first non-blank
z- β€” bottom + first non-blank

Reference

Key Like… And…
z. zz Cursor β†’ first non-blank
z+ Page-forward Cursor β†’ first non-blank of new top
z- zb Cursor β†’ first non-blank

See also: Centering the Cursor, Line Motions