How to filter empty lines?
oderwat opened this issue · 3 comments
oderwat commented
I would like to filter out all empty lines, but can't find how to do it.
olshevskiy87 commented
@oderwat with opened slit window try
- press key
-
- press
Ctrl + /
- enter
^$
and press Enter
oderwat commented
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
BTW: CTRL + / is not easy on a German keyboard. I guess I need to create a fork :)