How to clear highlights in lnav

1

After highlight <regex>. I have no idea how to clear that highlight. With filter we could do a simple disable-filter <regex>

Huy Le

Posted 2014-09-29T05:20:14.503

Reputation: 121

Answers

3

Unfortunately, there's no way to clear highlights at the moment, sorry. I've filed a github issue to add a command to do that. I don't actually use highlights in my day-to-day usage, so the feature is not fully fleshed out.

Timothy Stack

Posted 2014-09-29T05:20:14.503

Reputation: 56

Assuming this isn't some sort of impersonator, this is as definitive as it gets. Timothy Stack is the main author of lnav

– lzam – 2014-10-02T02:15:39.310

0

To clear highlight all you have to do is do an "empty" search.

If to start the highlight I did the following search: /[DEBUG]

So to disable it I would just search: /

That disables the highlight.

Arj

Posted 2014-09-29T05:20:14.503

Reputation: 101