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

Hello, Is there a way to have the file/folder count on the bottom right corner (2/2 in the attached snapshot) to not count the first row (dot) or just show zero when the cursor is on dot? This way the second number is the correct file/folder count in the folder.

Thank you

1 Answer

0 votes
by

Hi,

Macros in 'rulerformat' reflect number of entries in the current list, hence .. (not sure why it's . on the screenshot) is counted when present.

You can hide .. by changing 'dotdirs' which will affect number of entries.

Affecting the count while keeping the entry will take adding new macros (although not really sure what to do about tree-views with multiple .. entries) or allowing formatting 'rulerformat' in Lua.

by

Could you please elaborate on how to keep the entry and make the counter on the ruler to not count the . (or ..)?

by

Could you please elaborate on how to keep the entry and make the counter on the ruler to not count the . (or ..)?

It can't be done without modifying the code.

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