how can I achieve that? I read about file name modifiers in the manual but I can't get if I can use that in my case, this is not working:
set status="%f:e"
thank you
The modifiers aren't supported in 'statusline', although hard to say why that's still the case. You can work around it by using %{expand('%f:e')}.
'statusline'
%{expand('%f:e')}
got it, thank you <3