Remix.run Logo
kalterdev 3 hours ago

When I have this problem, I catenate two outputs:

    man curl |grep -e -L
    man curl
This way, I have all the matches at hand. When I pick the one I need, I select the line and search for it, finding the next occurrence in the full man-page.

Checking sub-command section is trivial as well. Because the editor remembers the exact location of the cursor, you can always go back to it after scrolling up and down however you feel like.

For this scenario to work nicely, you have to have run the commands from a text editor. I use Acme [1], it’s optimized for this style of work and doesn’t shy away mice. (I think that the traditional TUI cannot be as smooth.)

So, to hell with AI.

[1]: https://p9f.org/sys/doc/acme/acme.html