The issue I have could be illustrated best with example:
I know curl lets me do POST requests but I don't remember how. So I open
man curl, and begin to search for
POST. The problem is that every result starts in the middle of some option's description, and I need to scroll (many) lines up to see the command and start of the description.
To be honest, I'm pretty sure searching for the same thing via web would be faster.
To make the process of walking through manpages more comfortable, I have two solutions in mind:
- Simulate vim's
scrollofffeature that lets you to keep at least
Nlines above and below currently selected line.
- Use some other search, that instead of aligning the current line at the highlighted word, will align at the section start.
That way I'll be able to immediately see if the option I look for is relevant or not.