If I'm at file
/a/b/c/foo.txt, I'd like the statusline to display
c/foo.txt. Is this possible?
The reason for this is that for web development, too many files are named
index.js to make just the tail useful, while the full path (or relative path) is too long to make it easy to parse.
The only relevant statusline options I see are:
%fwhich is the path relative to the current directory
%Fthe full path to the file
%tonly the filename (tail).