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
by
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.

by
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?

by

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

Yes.

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.

...