Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

As we know, there are three basic file filters.

I have reviewed all the questions asked and answered - using the topic filter - and I did not find an equivalent.

Is it possible to add a three-letter indicator to the status bar ?

First indicator D when there is a filter for files starting with a dot. Second indicator L when at least one or more files are filtered by the local filter. Third indicator P when at least one or more files are filtered by the permanent filter.

So the possible values would be either Nothing, or D, or L, or P, or DL, or DLP, or LP, or DP.

Concerning a counter that counts the total number of filtered files, I already have one.

Thank you for your suggestions and your helpful advice

1 Answer

0 votes
by

The total number of filtered out files is the only statistics explicitly collected by the code. Number of files excluded by a local filter can be derived in the code. Even this information is not exposed other than via the %x macro, so at the moment there is no way to display flags that you describe.

by

Thanks! I'll check if there's a modified VIFM file after setting one or more filters — that way I can parse it and hopefully find a workaround. Once I find a solution, I'll share it with you. Any help or suggestions are welcome!

by

I'll check if there's a modified VIFM file after setting one or more filters

Don't see how that will help. Such information is only part of the runtime state, so there nothing really to parse.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...