TabFS icon indicating copy to clipboard operation
TabFS copied to clipboard

[Feature Request] Extend "last-focused" to work across all tabs

Open sinewave opened this issue 4 years ago • 3 comments

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?

sinewave avatar Jan 24 '21 02:01 sinewave

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?

osnr avatar Jan 24 '21 04:01 osnr

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!

sinewave avatar Jan 24 '21 05:01 sinewave

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.)

gojomo avatar Feb 23 '21 21:02 gojomo