I couldn't spot it, I wonder if there could be a variable representing the folder bar path, zero-length when not active?
It would be useful to show the path of files relative to the folderbar. Perhaps other uses people will think of.
Ideally there could be an in-built column called Rel Path that did this, since it would be of general use - the left hand part of path is always redundant for the section that matches the selected folder bar path, which can be considerable. I'd probably have it in use permanently.
I'm not sure what would be easiest to implement.
Many thanks! David
folderbar-path
Re: folderbar-path
Easiest would be to use the existing ways to format either tab,statusbar or window caption format (you didn't mention which one).
Based on all your contributions in title formatting topics, I guess you can get it completely or largely working with the following hints:
From the Window Title Format thread:
Take a closer look at $directory:
That thread also contains a link to the Everything Preprocessor.
From these functions, [stem:] should get the job done.
If that isn't enough, report back how far you got.
@void:
Window Title Format Title Formatting does not yet mention Tabs and Statusbar.
-
- Posts: 495
- Joined: Thu Dec 15, 2016 9:44 pm
Re: folderbar-path
I think the equivalent there would be $directory:
However it doesn't work as a column variable. But maybe a column variable could be named the same for consistency.
The idea is to have relative paths showing as a column rather than in the status bar, so I can see them against all the files, otherwise you just see part of the folderbar path, which you know anyway, and not the relative bit.
Ideally as a view-column, because I can't imagine a time I wouldn't want it on
David
However it doesn't work as a column variable. But maybe a column variable could be named the same for consistency.
The idea is to have relative paths showing as a column rather than in the status bar, so I can see them against all the files, otherwise you just see part of the folderbar path, which you know anyway, and not the relative bit.
Ideally as a view-column, because I can't imagine a time I wouldn't want it on
David
Re: folderbar-path
Do you mean a variable representing the folder sidebar selection?
I will consider a variable to do this.
Thank you for the suggestion.
Tabs share the same title format with the advanced setting: tabs_title_format
Status Bar Format
There are some shared variables between the two, for example: window/tab states.
I will consider a variable to do this.
Thank you for the suggestion.
I have added the following notes to 'Window Title Format':@void:
Window Title Format Title Formatting does not yet mention Tabs and Statusbar.
Tabs share the same title format with the advanced setting: tabs_title_format
Status Bar Format
There are some shared variables between the two, for example: window/tab states.
Re: folderbar-path
Yes, sorry, I meant $directory: .. (changed it in the post above)
Ok .. that is something completely different from what I got from you message ..
Ok .. that is something completely different from what I got from you message ..
-
- Posts: 495
- Joined: Thu Dec 15, 2016 9:44 pm
Re: folderbar-path
Many thanks void!
In the case of multiple folders selected in the sidebar, the variable would need to either be the longest common folder path (ideally) or zero length. (I'm sure you'll have envisaged that scenario and just need to pick up on the existing calculation.)
David
In the case of multiple folders selected in the sidebar, the variable would need to either be the longest common folder path (ideally) or zero length. (I'm sure you'll have envisaged that scenario and just need to pick up on the existing calculation.)
David