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 show on the statusbar the number of files/folders in the current folder?

Thank you

1 Answer

+1 vote
by
selected by
 
Best answer

You can use macros from 'rulerformat' option in 'statusline'. See %L and %S there.

by

Awesome, thank you.
Is there also a way to show the output of a bash script on the statusbar? It can be triggered by folder change.

by

This should work:

%{extcached('dir info', expand('%d'), '<your command here>')}

It will depend on current directory and its modification time.

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