top | item 33201664

(no title)

bensadeh | 3 years ago

1. The cool thing about using `less` as the pager is everything you get out of the box, including search. Search from within less with `/`.

2. You can collapse / expand the comment section with h/l or left arrow and right arrow. The limitation to this is that it is not possible to collapse specific threads / replies, only all replies at once.

discuss

order

justaj|3 years ago

> 1. The cool thing about using `less` as the pager is everything you get out of the box, including search. Search from within less with `/`.

Sure, but doesn't this assume running `less` in this case only to search specific text strings? So this means if you wanted to apply any other operations, you'd have to exit out of the $PAGER back into the main terminal app?

What if I wanted to combine it with other operations such as collapse / expand comments? Speaking of:

> 2. You can collapse / expand the comment section with h/l or left arrow and right arrow. The limitation to this is that it is not possible to collapse specific threads / replies, only all replies at once.

So an collapse / expand operation is applied to _all_ comments in a thread? Hmm, in that case for me in terms of usability the browser is still superior.