tigrawap / slit

slit - a modern PAGER for viewing logs, get more than most in less time
Other
469 stars 18 forks source link

How to filter empty lines? #96

Open oderwat opened 1 year ago

oderwat commented 1 year ago

I would like to filter out all empty lines, but can't find how to do it.

olshevskiy87 commented 1 year ago

@oderwat with opened slit window try

oderwat commented 1 year ago

Ah, so the regex mode does not only work with the searches. I actually wonder if it would be cool to have a key that enables / disables a simple filter for comment lines (starting with ; # // and empty lines). I actually used "slit" to check long configuration files and found it really nice to simply filter out all the stuff that is not really active or just explains things.

oderwat commented 1 year ago

BTW: CTRL + / is not easy on a German keyboard. I guess I need to create a fork :)