Horizontal Scroll

zs, ze, zh, zl โ€” scroll left/right when wrap is off.

Keys: zs, ze, zh, zl, zH, zL

When 'wrap' is off, long lines run off the screen. Horizontal scrolling commands let you see the rest. zs scrolls so the cursor is at the left edge; ze at the right.

Long single-line content (logs, JSON, CSV) runs off the right edge when 'wrap' is off. The z-family includes a horizontal scroll group that mirrors the vertical one.

Scroll horizontally so cursor is at left edge
KeyNote
z
s
Scroll so cursor is at right edge
KeyNote
z
e
Scroll viewport right one column (text appears to move left)
KeyNote
z
l
Scroll viewport left one column (text appears to move right)
KeyNote
z
h
Scroll viewport right half a screen
KeyNote
z
L
Scroll viewport left half a screen
KeyNote
z
H
๐Ÿ“บ z. z+ z- z^ Scroll Variants (not yet published)
Horizontal scrolling

Reference

Key Action
zs Scroll cursor to left edge
ze Scroll cursor to right edge
zl Scroll one column right
zh Scroll one column left
zL Scroll half-screen right
zH Scroll half-screen left

See also: Centering the Cursor, The {key:z} Family