Is it possible to show on the statusbar the number of files/folders in the current folder?
Thank you
You can use macros from 'rulerformat' option in 'statusline'. See %L and %S there.
'rulerformat'
'statusline'
%L
%S
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.
This should work:
%{extcached('dir info', expand('%d'), '<your command here>')}
It will depend on current directory and its modification time.