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

Is it possible to use fuzzy search in navigation mode?

I have folders that just differ in the year at the end and it would be useful to be able just to type the start of the folder names and then just the end, e.g. in a folder containing many folders and these two:

annual_report_2020
annual_report_2021
annual_report_2022
annual_report_2023
annual_report_2024
annual_report_2025

to write ann5 to navigate to the last one.

1 Answer

0 votes
by

There is no fuzzy matching in Vifm as of now. The closes would be to use ann.*5 regular expression or a more specific one like ^ann.*5$. If it helps, a mapping could insert some of that boilerplate:

anoremap <c-x> <c-a>^<c-e>.*$<c-b>
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.
...