Repository navigation
Navigation
Counts precede commands: 5j, 20G, 10gg. Escape cancels a pending count.
| Keys | Movement |
|---|---|
h j k l / arrows |
Left, down, up, right |
0 / Home |
Absolute start of line |
^ |
First nonblank byte |
$ / End |
Final character cell of the line |
w / b / e
|
Next word start / previous word start / word end |
gg / G
|
First / last line |
20gg / 20G / :20
|
Go to line 20 |
:$ |
Go to the last line |
| Ctrl-F / PageDown | Page forward |
| Ctrl-B / PageUp | Page backward |
| Ctrl-D / Ctrl-U | Half-page forward / backward |
Ctrl-L / L
|
Force a screen redraw |
Ctrl-Z, then shell fg
|
Suspend cleanly, then resume the same mode and buffer |
Words use ASCII-style word/punctuation classes. These motions are a subset of Vim; paragraph, sentence, marks, bracket matching and text-object motions are pending.
Long lines pan horizontally instead of wrapping. Numbers are off by default.
:set number (or :set nu) enables a right-aligned three-column number field,
in yellow, followed by one separator space. For example, line 1 has two leading
spaces, the yellow digit 1, then a space before text. Four-digit and longer
numbers widen the field instead of being clipped. :set nonumber (or :set nonu)
hides it again. The yellow gutter is terminal UI styling; syntax highlighting is deferred.
Terminal dimensions are read on the next keypress after a resize. Linux and
macOS/BSD-style terminal-size ioctls are implemented; other POSIX systems fall
back to LINES/COLUMNS, then 24x80. Linux and macOS have PTY tests; real BSD
interactive coverage is still pending.
Syntax highlighting is deferred; file text is plain. Yellow line numbers and the status line remain available as terminal UI styling. See Perl Features.
The opening splash is centered horizontally and vertically for the current
terminal dimensions. It recenters immediately when resized, and after fg.
On small terminals it removes blank spacers and clips lines within the available
width; startup remains usable without printing beyond the screen edges.
pvim source · Downloads · Issues
Generated from source documentation for pvim 0.1.13. How these pages stay current.
pvim 0.1.13