How to use section

Posted on:

ov can use a unit called section. Sections are blocks separated by section delimiters. The section delimiter line is displayed in the style of StyleSectionLine (background color green).

The section delimiter is optionally specified as a regular expression string at startup.

ov --section-delimiter "^$"

If you want to set the section delimiter after startup, enter it in input mode with the section_delimiter key binding (alt + d).

Section delimiter: ^$

start0 start0

If section delimiters are not required (blank lines, etc.), --section-start 1 can be used to display from the next line.

start1 start1

--follow-section uses the section instead of the follow-mode line.

Suitable for use with \watch of psql.