walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
642 stars 18 forks source link

Support for filtering #230

Open willakat opened 2 months ago

willakat commented 2 months ago

This is only a suggestion.

Good old "less" supports a not-so-well-known feature that filters lines that match or don't match a pattern (using the "&" key). It seems moar doesn't (yet?) have support for this, but maybe this could be a worthwhile addition to the TODO list.

rwmitchell commented 1 month ago

Thanks for that tip!

walles commented 1 month ago

I like it!

And now that I know it exists I have been missing it at least once.

No promises if or when I'll implement it, but I do want it.

Workarounds include:

lapo-luchini commented 5 days ago

I was today years old when I got to know about this feature… and now I immediately would like it in moar too. 😇