| ▲ | I made a terminal pager(theleo.zone) | |||||||||||||||||||||||||||||||||||||
| 115 points by speckx 8 hours ago | 25 comments | ||||||||||||||||||||||||||||||||||||||
| ▲ | CGamesPlay 4 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
I am definitely waiting for a "modern less replacement" in the same vein as fd, sd, fzf, and the rest of the under-20yo cli crew. I get that "less" is reasonably maintained still. I think the killer feature for me would be refresh. I get that this can't work for piped input, but I want `git diff` to show in a pager with a refresh button that holds my place. fzf supports both refresh and piped input, so perhaps there's some ideas there that could be leveraged. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | ancientcatz 5 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
If I remember correctly, `gum` also provides a pager feature: https://github.com/charmbracelet/gum | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | jzer0cool an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
Was curious but the git link there doesn't load? | ||||||||||||||||||||||||||||||||||||||
| ▲ | thegdsks 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
How does this compare to less with syntax highlighting? I've been using bat as a pager (bat --paging=always) and it covers most of what I need. Curious what the advantage is for larger files. | ||||||||||||||||||||||||||||||||||||||
| ▲ | vomayank 7 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
Interesting project. What was the main limitation in existing pagers like less that pushed you to build a new one? | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | gandreani 7 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
I really like this post! I think it's the clearest explanation I've seen of the different characteristics of utf-8 strings | ||||||||||||||||||||||||||||||||||||||
| ▲ | pimlottc 8 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
The TL;DR doesn’t really say what this new pager offers compared to less; it seems to mostly be a learning project: > lore supports only a subset of what less does, but in a more intuitive and useful manner for my daily activity. I also find value in understanding it from the ground up, bytes to terminal views, and continuing to refine it as I learn more about what I actually want and need in a terminal pager. | ||||||||||||||||||||||||||||||||||||||
| ▲ | umutnaber 38 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
good work | ||||||||||||||||||||||||||||||||||||||
| ▲ | mnkyprskbd 5 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
bat is the king of pagers. https://github.com/sharkdp/bat | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | dostick 6 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
From the title I thought it’s about a dead man’s switch. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | jauntywundrkind 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
It's not great but I made a typescript library to wrap pickers recently, such as skim, fuzzel, fzf, dmenu, rofi, etc. Some very similar problems. Would love if anyone has thoughts or suggestions. It was quick and dirty, and works fine for my use, but I'm not sure where else I could take this, how else I might splice apart the problem, what else would suit it. https://tangled.org/jauntywk.bsky.social/picker-power | ||||||||||||||||||||||||||||||||||||||
| ▲ | fragmede 6 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
A Splunk, a Splunk! My kingdom for a Splunk! (too bad Cisco bought them and made it too expensive). Also, no "less does more than more and most does more than less" joke? | ||||||||||||||||||||||||||||||||||||||
| ▲ | sourcegrift 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
Also called `vi -` | ||||||||||||||||||||||||||||||||||||||
| ▲ | cocodill 7 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
For a bubbletea application I'd expect more bubbles and tea there. But still, nice project. | ||||||||||||||||||||||||||||||||||||||