[Feature Request] Extend "last-focused" to work across all tabs
What a cool app!!
Any chance you could add the ability to track which tabs were most recently used, perhaps by extending "last-focused" to work the same was as by-title except it lists all the open tabs in MRU order?
Hmm! I like last-focused as an easy symlink so you don't have to think too hard to access that tab. Were you thinking the tabs would be named by date in a last-focused directory?
I wonder if we can achieve this in a different way. Maybe we could make the active file in each tab have modtime, or something like that?
Hi @osnr, thx for the quick response!
Initially I thought that last-focused worked this way already but I see your point about the convenience of having a single symlink.
My workflow is that I often have 100+ tabs open across multiple windows which I like to jump between. Sometimes I know the title of the tab I'm looking for in which case something like by-title works great. Most times however I just know it's a recent tab that I'm looking for in which case being able to see when a tab was last focused / active would be very helpful.
Knowing the last time a tab was focused / accessed seems like a great thing to track and your idea sounds great!
More generally, if every tab had a timestamp of when it was last-focused (or similarly: last-loaded; last-scrolled; last-given-a-key-or-mouse-event; etc.), it'd help enable using TabFS to drive tools for culling/folding/archiving older tabs, either with or without user-involvement. (EG: any tab that's not been focused in a week gets its title/URL/other-summary-text placed in some auto-archived bin.)
(Tangentially related: remembering points of highest/lowest scroll might enable visual hints as to whether a page has been partially read/reviewed.)