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

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.

...