Live data from Hacker News

Show HN: Ov – feature rich terminal pager

github.com

41–50 of 53 posts

Re: Show HN: Ov – feature rich terminal pager

#41

I'm surprised there aren't more pagers besides `less` and `more`. Alternatives I've found online: - https://linux.die.net/man/1/most (multiple files/windows at once) - https://github.com/sharkdp/bat (uses `less` under the hood, syntax highlighting and git diffs) - https://linux.die.net/man/1/lesskey (add parameters to `less`) - https://github.com/ivanov/kanten (looks abandoned) - "Just use vim" (and vim's paging is r…

I'm a fan of lnav, more for log files but incredibly useful:

https://lnav.org/

Re: Show HN: Ov – feature rich terminal pager

#43
post #12

ov looks really nice and probable deserves a try. I like the section thing, it's going to be useful for diffs to go file by file. One feature I discovered recently in less that I'm always using now is filtering: type '&' and then the thing you're looking for, and less will only show matching lines.

Filtering in less is one of the features that ov doesn't have yet. I will refer to it. thank you.

Re: Show HN: Ov – feature rich terminal pager

#44

Any markdown support? I don't see any in the feature list. :(

Does not support markdown. ov is a pager, so there is no rendering of specific files. But it can be used as a bat(https://github.com/sharkdp/bat) pager. It can also be created using the ov(oviewer) package. Here's a sample: https://github.com/noborus/mdviewer

Re: Show HN: Ov – feature rich terminal pager

#45

Suppose it is a technicality, but if it can't handle large (larger than available memory, that is) files [0], it's not a pager. [0] https://github.com/noborus/ov/issues/201

I see memory efficiency as an issue, but not as a priority issue as it was 30 years ago.

Re: Show HN: Ov – feature rich terminal pager

#47
post #45

Suppose it is a technicality, but if it can't handle large (larger than available memory, that is) files [0], it's not a pager. [0] https://github.com/noborus/ov/issues/201

I see memory efficiency as an issue, but not as a priority issue as it was 30 years ago.

In data science/industry it frequently happens for people to open files bigger then the available memory in less. "Big data" is a somewhat independent concept of the fact that RAM was smaller 30 years ago.

Re: Show HN: Ov – feature rich terminal pager

#50
post #8

Anyone tried using this for a scrollback pager for kitty terminal? I have a convoluted nvim incantation right now I’d love to replace.

Yes, it works by adding to kitty.conf: scrollback_pager ov

Yeah I experimented with it, seemed to work out of the box. I used `ov -f` so it starts at the end of the scrollback. Searching behaves strangely (different from vim). Seems to run fast but I haven't tried it on giant scrollbacks yet.
Post reply on HN