Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by

= shortcut filters out everything but matching files
How do I negate the filtering, that is NOT show matching files?

1 Answer

+1 vote
selected by
Best answer

You can't. The plan is to make local filter accept matches and allow writing =!{pattern} or something analogous, but it hasn't been done yet.

edited by

My workaround for this:
( limited, for temporary panels only where zd is applicable )

  1. :select //pattern// to select path matching entries
  2. zd to hide the selection

this efficiently means //pattern// negation, doesn't it?


this efficiently means //pattern// negation, doesn't it?


If you don't care specifically about local filter, you could do :filter !{pattern}. You'll just have to clear the filter with :filter manually later.

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.

Support Ukraine